summaryrefslogtreecommitdiffstats
path: root/sync/sync.gyp
diff options
context:
space:
mode:
authormsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-25 13:01:57 +0000
committermsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-25 13:01:57 +0000
commitceddb86ca202d5b1ae357f02d4a26b44933edf22 (patch)
tree288148f6f284cdc30f50a5c1431cb7c332a1f559 /sync/sync.gyp
parentc3b874732e258f2f8f9e0113db8bf670b1904622 (diff)
downloadchromium_src-ceddb86ca202d5b1ae357f02d4a26b44933edf22.zip
chromium_src-ceddb86ca202d5b1ae357f02d4a26b44933edf22.tar.gz
chromium_src-ceddb86ca202d5b1ae357f02d4a26b44933edf22.tar.bz2
Do not build sync command line tools on iOS.
Exclude the sync command line tools on iOS as they cannot be built. Review URL: https://chromiumcodereview.appspot.com/10970068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sync.gyp')
-rw-r--r--sync/sync.gyp79
1 files changed, 41 insertions, 38 deletions
diff --git a/sync/sync.gyp b/sync/sync.gyp
index cdbbd16..96ccfcc 100644
--- a/sync/sync.gyp
+++ b/sync/sync.gyp
@@ -826,46 +826,49 @@
}],
],
},
-
- # A tool to listen to sync notifications and print them out.
- {
- 'target_name': 'sync_listen_notifications',
- 'type': 'executable',
- 'dependencies': [
- '../base/base.gyp:base',
- '../jingle/jingle.gyp:notifier',
- '../net/net.gyp:net',
- '../net/net.gyp:net_test_support',
- 'sync',
- 'sync_notifier',
- ],
- 'sources': [
- 'tools/sync_listen_notifications.cc',
- ],
- },
-
- # A standalone command-line sync client.
- {
- 'target_name': 'sync_client',
- 'type': 'executable',
- 'defines': [
- 'SYNC_TEST',
- ],
- 'dependencies': [
- '../base/base.gyp:base',
- '../jingle/jingle.gyp:notifier',
- '../net/net.gyp:net',
- '../net/net.gyp:net_test_support',
- 'sync',
- 'sync_notifier',
- 'syncapi_core',
- ],
- 'sources': [
- 'tools/sync_client.cc',
- ],
- },
],
'conditions': [
+ ['OS != "ios"', {
+ 'targets': [
+ # A tool to listen to sync notifications and print them out.
+ {
+ 'target_name': 'sync_listen_notifications',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../jingle/jingle.gyp:notifier',
+ '../net/net.gyp:net',
+ '../net/net.gyp:net_test_support',
+ 'sync',
+ 'sync_notifier',
+ ],
+ 'sources': [
+ 'tools/sync_listen_notifications.cc',
+ ],
+ },
+
+ # A standalone command-line sync client.
+ {
+ 'target_name': 'sync_client',
+ 'type': 'executable',
+ 'defines': [
+ 'SYNC_TEST',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../jingle/jingle.gyp:notifier',
+ '../net/net.gyp:net',
+ '../net/net.gyp:net_test_support',
+ 'sync',
+ 'sync_notifier',
+ 'syncapi_core',
+ ],
+ 'sources': [
+ 'tools/sync_client.cc',
+ ],
+ },
+ ],
+ }],
# Special target to wrap a gtest_target_type==shared_library
# sync_unit_tests into an android apk for execution.
['OS == "android" and gtest_target_type == "shared_library"', {