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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 'dependencies': [ | 916 'dependencies': [ |
917 '../testing/android/native_test.gyp:native_test_native_code', | 917 '../testing/android/native_test.gyp:native_test_native_code', |
918 ], | 918 ], |
919 }], | 919 }], |
920 ], | 920 ], |
921 }, | 921 }, |
922 ], | 922 ], |
923 'conditions': [ | 923 'conditions': [ |
924 ['OS != "ios"', { | 924 ['OS != "ios"', { |
925 'targets': [ | 925 'targets': [ |
| 926 { |
| 927 'target_name': 'sync_tools_helper', |
| 928 'type': 'static_library', |
| 929 'include_dirs': [ |
| 930 '..', |
| 931 ], |
| 932 'dependencies': [ |
| 933 '../base/base.gyp:base', |
| 934 'sync_notifier', |
| 935 ], |
| 936 'export_dependent_settings': [ |
| 937 '../base/base.gyp:base', |
| 938 'sync_notifier', |
| 939 ], |
| 940 'sources': [ |
| 941 'tools/null_invalidation_state_tracker.cc', |
| 942 'tools/null_invalidation_state_tracker.h', |
| 943 ], |
| 944 }, |
926 # A tool to listen to sync notifications and print them out. | 945 # A tool to listen to sync notifications and print them out. |
927 { | 946 { |
928 'target_name': 'sync_listen_notifications', | 947 'target_name': 'sync_listen_notifications', |
929 'type': 'executable', | 948 'type': 'executable', |
930 'dependencies': [ | 949 'dependencies': [ |
931 '../base/base.gyp:base', | 950 '../base/base.gyp:base', |
932 '../jingle/jingle.gyp:notifier', | 951 '../jingle/jingle.gyp:notifier', |
933 '../net/net.gyp:net', | 952 '../net/net.gyp:net', |
934 '../net/net.gyp:net_test_support', | 953 '../net/net.gyp:net_test_support', |
935 'sync', | 954 'sync', |
| 955 'sync_tools_helper', |
936 ], | 956 ], |
937 'sources': [ | 957 'sources': [ |
938 'tools/sync_listen_notifications.cc', | 958 'tools/sync_listen_notifications.cc', |
939 ], | 959 ], |
940 }, | 960 }, |
941 | 961 |
942 # A standalone command-line sync client. | 962 # A standalone command-line sync client. |
943 { | 963 { |
944 'target_name': 'sync_client', | 964 'target_name': 'sync_client', |
945 'type': 'executable', | 965 'type': 'executable', |
946 'defines': [ | 966 'defines': [ |
947 'SYNC_TEST', | 967 'SYNC_TEST', |
948 ], | 968 ], |
949 'dependencies': [ | 969 'dependencies': [ |
950 '../base/base.gyp:base', | 970 '../base/base.gyp:base', |
951 '../jingle/jingle.gyp:notifier', | 971 '../jingle/jingle.gyp:notifier', |
952 '../net/net.gyp:net', | 972 '../net/net.gyp:net', |
953 '../net/net.gyp:net_test_support', | 973 '../net/net.gyp:net_test_support', |
954 'sync', | 974 'sync', |
| 975 'sync_tools_helper', |
955 ], | 976 ], |
956 'sources': [ | 977 'sources': [ |
957 'tools/sync_client.cc', | 978 'tools/sync_client.cc', |
958 ], | 979 ], |
959 }, | 980 }, |
960 ], | 981 ], |
961 }], | 982 }], |
962 | 983 |
963 # Special target to wrap a gtest_target_type==shared_library | 984 # Special target to wrap a gtest_target_type==shared_library |
964 # sync_unit_tests into an android apk for execution. | 985 # sync_unit_tests into an android apk for execution. |
965 ['OS == "android" and gtest_target_type == "shared_library"', { | 986 ['OS == "android" and gtest_target_type == "shared_library"', { |
966 'targets': [ | 987 'targets': [ |
967 { | 988 { |
968 'target_name': 'sync_unit_tests_apk', | 989 'target_name': 'sync_unit_tests_apk', |
969 'type': 'none', | 990 'type': 'none', |
970 'dependencies': [ | 991 'dependencies': [ |
971 'sync_unit_tests', | 992 'sync_unit_tests', |
972 ], | 993 ], |
973 'variables': { | 994 'variables': { |
974 'test_suite_name': 'sync_unit_tests', | 995 'test_suite_name': 'sync_unit_tests', |
975 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 996 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
976 }, | 997 }, |
977 'includes': [ '../build/apk_test.gypi' ], | 998 'includes': [ '../build/apk_test.gypi' ], |
978 }, | 999 }, |
979 ], | 1000 ], |
980 }], | 1001 }], |
981 ], | 1002 ], |
982 } | 1003 } |
OLD | NEW |