OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'test_support_content', | 8 'target_name': 'test_support_content', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'defines!': ['CONTENT_IMPLEMENTATION'], | 10 'defines!': ['CONTENT_IMPLEMENTATION'], |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 }], | 732 }], |
733 # TODO(bryaneyler): Also enable these for OpenSSL once that | 733 # TODO(bryaneyler): Also enable these for OpenSSL once that |
734 # implementation is ready. Issue 267888. | 734 # implementation is ready. Issue 267888. |
735 ['use_nss!=1', { | 735 ['use_nss!=1', { |
736 'sources!': [ | 736 'sources!': [ |
737 'renderer/webcrypto_impl_unittest.cc', | 737 'renderer/webcrypto_impl_unittest.cc', |
738 ], | 738 ], |
739 }], | 739 }], |
740 ], | 740 ], |
741 }, | 741 }, |
| 742 { |
| 743 'target_name': 'content_linker_unittests', |
| 744 'type': '<(gtest_target_type)', |
| 745 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 746 'dependencies': [ |
| 747 'content_browser', |
| 748 'content_common', |
| 749 'test_support_content', |
| 750 '../base/base.gyp:test_support_base', |
| 751 '../testing/gmock.gyp:gmock', |
| 752 '../testing/gtest.gyp:gtest', |
| 753 ], |
| 754 'include_dirs': [ |
| 755 '..', |
| 756 ], |
| 757 'sources': [ |
| 758 'test/run_all_unittests.cc', |
| 759 ], |
| 760 'conditions': [ |
| 761 ['OS=="android"', { |
| 762 'sources': [ |
| 763 'test/content_linker_unittest.cc', |
| 764 ], |
| 765 }], |
| 766 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 767 'dependencies': [ |
| 768 '../testing/android/native_test.gyp:native_test_native_code', |
| 769 ], |
| 770 }], |
| 771 ], |
| 772 } |
742 ], | 773 ], |
743 'conditions': [ | 774 'conditions': [ |
744 ['OS!="ios"', { | 775 ['OS!="ios"', { |
745 'targets': [ | 776 'targets': [ |
746 { | 777 { |
747 'target_name': 'content_browsertests', | 778 'target_name': 'content_browsertests', |
748 'type': '<(gtest_target_type)', | 779 'type': '<(gtest_target_type)', |
749 'defines!': ['CONTENT_IMPLEMENTATION'], | 780 'defines!': ['CONTENT_IMPLEMENTATION'], |
750 'dependencies': [ | 781 'dependencies': [ |
751 'content_common', | 782 'content_common', |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 'content_java', | 1217 'content_java', |
1187 'content_unittests', | 1218 'content_unittests', |
1188 ], | 1219 ], |
1189 'variables': { | 1220 'variables': { |
1190 'test_suite_name': 'content_unittests', | 1221 'test_suite_name': 'content_unittests', |
1191 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', | 1222 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', |
1192 }, | 1223 }, |
1193 'includes': [ '../build/apk_test.gypi' ], | 1224 'includes': [ '../build/apk_test.gypi' ], |
1194 }, | 1225 }, |
1195 { | 1226 { |
| 1227 'target_name': 'content_linker_unittests_apk', |
| 1228 'type': 'none', |
| 1229 'dependencies': [ |
| 1230 'content_java', |
| 1231 'content_linker_unittests', |
| 1232 ], |
| 1233 'variables': { |
| 1234 'test_suite_name': 'content_linker_unittests', |
| 1235 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_l
inker_unittests<(SHARED_LIB_SUFFIX)', |
| 1236 }, |
| 1237 'includes': [ '../build/apk_test.gypi' ], |
| 1238 }, |
| 1239 { |
1196 'target_name': 'content_browsertests_apk', | 1240 'target_name': 'content_browsertests_apk', |
1197 'type': 'none', | 1241 'type': 'none', |
1198 'dependencies': [ | 1242 'dependencies': [ |
1199 'content_browsertests', | 1243 'content_browsertests', |
1200 'content_java', | 1244 'content_java', |
1201 'content_java_test_support', | 1245 'content_java_test_support', |
1202 'content_shell_java', | 1246 'content_shell_java', |
1203 ], | 1247 ], |
1204 'variables': { | 1248 'variables': { |
1205 'apk_name': 'content_browsertests', | 1249 'apk_name': 'content_browsertests', |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1422 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | 1466 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], |
1423 }, | 1467 }, |
1424 ], | 1468 ], |
1425 }], | 1469 }], |
1426 ], | 1470 ], |
1427 }, | 1471 }, |
1428 ], | 1472 ], |
1429 }], | 1473 }], |
1430 ], | 1474 ], |
1431 } | 1475 } |
OLD | NEW |