| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 '../net/net.gyp:net_test_support', | 979 '../net/net.gyp:net_test_support', |
| 980 'sync', | 980 'sync', |
| 981 'sync_tools_helper', | 981 'sync_tools_helper', |
| 982 ], | 982 ], |
| 983 'sources': [ | 983 'sources': [ |
| 984 'tools/sync_client.cc', | 984 'tools/sync_client.cc', |
| 985 ], | 985 ], |
| 986 }, | 986 }, |
| 987 ], | 987 ], |
| 988 }], | 988 }], |
| 989 ['OS == "android"', { |
| 990 'targets': [ |
| 991 { |
| 992 'target_name': 'sync_java', |
| 993 'type': 'none', |
| 994 'variables': { |
| 995 'package_name': 'sync', |
| 996 'java_in_dir': '../sync/android/java', |
| 997 }, |
| 998 'dependencies': [ |
| 999 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid
ation_javalib', |
| 1000 '../third_party/guava/guava.gyp:guava_javalib', |
| 1001 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', |
| 1002 ], |
| 1003 'includes': [ '../build/java.gypi' ], |
| 1004 }, |
| 1005 { |
| 1006 'target_name': 'sync_javatests', |
| 1007 'type': 'none', |
| 1008 'variables': { |
| 1009 'package_name': 'sync_javatests', |
| 1010 'java_in_dir': '../sync/android/javatests', |
| 1011 }, |
| 1012 'dependencies': [ |
| 1013 'sync_java', |
| 1014 '../base/base.gyp:base_java_test_support', |
| 1015 ], |
| 1016 'includes': [ '../build/java.gypi' ], |
| 1017 }, |
| 1018 ], |
| 1019 }], |
| 989 | 1020 |
| 990 # Special target to wrap a gtest_target_type==shared_library | 1021 # Special target to wrap a gtest_target_type==shared_library |
| 991 # sync_unit_tests into an android apk for execution. | 1022 # sync_unit_tests into an android apk for execution. |
| 992 ['OS == "android" and gtest_target_type == "shared_library"', { | 1023 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 993 'targets': [ | 1024 'targets': [ |
| 994 { | 1025 { |
| 995 'target_name': 'sync_unit_tests_apk', | 1026 'target_name': 'sync_unit_tests_apk', |
| 996 'type': 'none', | 1027 'type': 'none', |
| 997 'dependencies': [ | 1028 'dependencies': [ |
| 998 'sync_unit_tests', | 1029 'sync_unit_tests', |
| 999 ], | 1030 ], |
| 1000 'variables': { | 1031 'variables': { |
| 1001 'test_suite_name': 'sync_unit_tests', | 1032 'test_suite_name': 'sync_unit_tests', |
| 1002 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 1033 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
| 1003 }, | 1034 }, |
| 1004 'includes': [ '../build/apk_test.gypi' ], | 1035 'includes': [ '../build/apk_test.gypi' ], |
| 1005 }, | 1036 }, |
| 1006 ], | 1037 ], |
| 1007 }], | 1038 }], |
| 1008 ], | 1039 ], |
| 1009 } | 1040 } |
| OLD | NEW |