| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 # The core sync library. | 10 # The core sync library. |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 '../chrome/chrome.gyp:browser', | 819 '../chrome/chrome.gyp:browser', |
| 820 ], | 820 ], |
| 821 }], | 821 }], |
| 822 ['OS == "android" and gtest_target_type == "shared_library"', { | 822 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 823 'dependencies': [ | 823 'dependencies': [ |
| 824 '../testing/android/native_test.gyp:native_test_native_code', | 824 '../testing/android/native_test.gyp:native_test_native_code', |
| 825 ], | 825 ], |
| 826 }], | 826 }], |
| 827 ], | 827 ], |
| 828 }, | 828 }, |
| 829 | |
| 830 # A tool to listen to sync notifications and print them out. | |
| 831 { | |
| 832 'target_name': 'sync_listen_notifications', | |
| 833 'type': 'executable', | |
| 834 'dependencies': [ | |
| 835 '../base/base.gyp:base', | |
| 836 '../jingle/jingle.gyp:notifier', | |
| 837 '../net/net.gyp:net', | |
| 838 '../net/net.gyp:net_test_support', | |
| 839 'sync', | |
| 840 'sync_notifier', | |
| 841 ], | |
| 842 'sources': [ | |
| 843 'tools/sync_listen_notifications.cc', | |
| 844 ], | |
| 845 }, | |
| 846 | |
| 847 # A standalone command-line sync client. | |
| 848 { | |
| 849 'target_name': 'sync_client', | |
| 850 'type': 'executable', | |
| 851 'defines': [ | |
| 852 'SYNC_TEST', | |
| 853 ], | |
| 854 'dependencies': [ | |
| 855 '../base/base.gyp:base', | |
| 856 '../jingle/jingle.gyp:notifier', | |
| 857 '../net/net.gyp:net', | |
| 858 '../net/net.gyp:net_test_support', | |
| 859 'sync', | |
| 860 'sync_notifier', | |
| 861 'syncapi_core', | |
| 862 ], | |
| 863 'sources': [ | |
| 864 'tools/sync_client.cc', | |
| 865 ], | |
| 866 }, | |
| 867 ], | 829 ], |
| 868 'conditions': [ | 830 'conditions': [ |
| 831 ['OS != "ios"', { |
| 832 'targets': [ |
| 833 # A tool to listen to sync notifications and print them out. |
| 834 { |
| 835 'target_name': 'sync_listen_notifications', |
| 836 'type': 'executable', |
| 837 'dependencies': [ |
| 838 '../base/base.gyp:base', |
| 839 '../jingle/jingle.gyp:notifier', |
| 840 '../net/net.gyp:net', |
| 841 '../net/net.gyp:net_test_support', |
| 842 'sync', |
| 843 'sync_notifier', |
| 844 ], |
| 845 'sources': [ |
| 846 'tools/sync_listen_notifications.cc', |
| 847 ], |
| 848 }, |
| 849 |
| 850 # A standalone command-line sync client. |
| 851 { |
| 852 'target_name': 'sync_client', |
| 853 'type': 'executable', |
| 854 'defines': [ |
| 855 'SYNC_TEST', |
| 856 ], |
| 857 'dependencies': [ |
| 858 '../base/base.gyp:base', |
| 859 '../jingle/jingle.gyp:notifier', |
| 860 '../net/net.gyp:net', |
| 861 '../net/net.gyp:net_test_support', |
| 862 'sync', |
| 863 'sync_notifier', |
| 864 'syncapi_core', |
| 865 ], |
| 866 'sources': [ |
| 867 'tools/sync_client.cc', |
| 868 ], |
| 869 }, |
| 870 ], |
| 871 }], |
| 869 # Special target to wrap a gtest_target_type==shared_library | 872 # Special target to wrap a gtest_target_type==shared_library |
| 870 # sync_unit_tests into an android apk for execution. | 873 # sync_unit_tests into an android apk for execution. |
| 871 ['OS == "android" and gtest_target_type == "shared_library"', { | 874 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 872 'targets': [ | 875 'targets': [ |
| 873 { | 876 { |
| 874 'target_name': 'sync_unit_tests_apk', | 877 'target_name': 'sync_unit_tests_apk', |
| 875 'type': 'none', | 878 'type': 'none', |
| 876 'dependencies': [ | 879 'dependencies': [ |
| 877 'sync_unit_tests', | 880 'sync_unit_tests', |
| 878 ], | 881 ], |
| 879 'variables': { | 882 'variables': { |
| 880 'test_suite_name': 'sync_unit_tests', | 883 'test_suite_name': 'sync_unit_tests', |
| 881 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 884 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
| 882 }, | 885 }, |
| 883 'includes': [ '../build/apk_test.gypi' ], | 886 'includes': [ '../build/apk_test.gypi' ], |
| 884 }, | 887 }, |
| 885 ], | 888 ], |
| 886 }], | 889 }], |
| 887 ], | 890 ], |
| 888 } | 891 } |
| OLD | NEW |