summaryrefslogtreecommitdiffstats
path: root/components/history.gypi
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2014-09-25 02:28:13 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-25 09:28:49 +0000
commitbc766efbf9e4cd3b8b530d8c002525ac730e1fd4 (patch)
tree2ad91896be51e276ca6a9fa45fa2b5ee578814a5 /components/history.gypi
parent0b7df51ab35a81243e964b9a4eaae504b4cec5a9 (diff)
downloadchromium_src-bc766efbf9e4cd3b8b530d8c002525ac730e1fd4.zip
chromium_src-bc766efbf9e4cd3b8b530d8c002525ac730e1fd4.tar.gz
chromium_src-bc766efbf9e4cd3b8b530d8c002525ac730e1fd4.tar.bz2
Componentize history_types.{cc,h} and android_history_types.{cc,h}
Move history_types.{cc,h} and android_history_types.{cc,h} to the history component and create a new target history_core_android. BUG=371816 Review URL: https://codereview.chromium.org/584013002 Cr-Commit-Position: refs/heads/master@{#296684}
Diffstat (limited to 'components/history.gypi')
-rw-r--r--components/history.gypi24
1 files changed, 24 insertions, 0 deletions
diff --git a/components/history.gypi b/components/history.gypi
index e413d34..c2431f5 100644
--- a/components/history.gypi
+++ b/components/history.gypi
@@ -15,6 +15,7 @@
'../base/base.gyp:base',
'../net/net.gyp:net',
'../sql/sql.gyp:sql',
+ '../ui/base/ui_base.gyp:ui_base',
'../ui/gfx/gfx.gyp:gfx',
'../url/url.gyp:url_lib',
'favicon_base',
@@ -78,4 +79,27 @@
],
},
],
+ 'conditions': [
+ ['OS=="android"', {
+ 'targets': [
+ {
+ # GN version: //components/history/code/android
+ 'target_name': 'history_core_android',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../sql/sql.gyp:sql',
+ 'history_core_browser',
+ ],
+ 'sources': [
+ 'history/core/android/android_history_types.cc',
+ 'history/core/android/android_history_types.h',
+ ],
+ },
+ ],
+ }],
+ ],
}