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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 }], | 782 }], |
783 # TODO(bryaneyler): Also enable these for OpenSSL once that | 783 # TODO(bryaneyler): Also enable these for OpenSSL once that |
784 # implementation is ready. Issue 267888. | 784 # implementation is ready. Issue 267888. |
785 ['use_nss!=1', { | 785 ['use_nss!=1', { |
786 'sources!': [ | 786 'sources!': [ |
787 'renderer/webcrypto_impl_unittest.cc', | 787 'renderer/webcrypto_impl_unittest.cc', |
788 ], | 788 ], |
789 }], | 789 }], |
790 ], | 790 ], |
791 }, | 791 }, |
| 792 { |
| 793 'target_name': 'content_android_linker_unittests', |
| 794 'type': '<(gtest_target_type)', |
| 795 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 796 'dependencies': [ |
| 797 'content_browser', |
| 798 'content_common', |
| 799 'test_support_content', |
| 800 '../base/base.gyp:test_support_base', |
| 801 '../testing/gmock.gyp:gmock', |
| 802 '../testing/gtest.gyp:gtest', |
| 803 ], |
| 804 'include_dirs': [ |
| 805 '..', |
| 806 ], |
| 807 'sources': [ |
| 808 'test/run_all_unittests.cc', |
| 809 ], |
| 810 'conditions': [ |
| 811 ['OS=="android"', { |
| 812 'sources': [ |
| 813 'test/content_android_linker_unittest.cc', |
| 814 ], |
| 815 }], |
| 816 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 817 'dependencies': [ |
| 818 '../testing/android/native_test.gyp:native_test_native_code', |
| 819 ], |
| 820 }], |
| 821 ], |
| 822 } |
792 ], | 823 ], |
793 'conditions': [ | 824 'conditions': [ |
794 ['OS!="ios"', { | 825 ['OS!="ios"', { |
795 'targets': [ | 826 'targets': [ |
796 { | 827 { |
797 'target_name': 'content_browsertests', | 828 'target_name': 'content_browsertests', |
798 'type': '<(gtest_target_type)', | 829 'type': '<(gtest_target_type)', |
799 'defines!': ['CONTENT_IMPLEMENTATION'], | 830 'defines!': ['CONTENT_IMPLEMENTATION'], |
800 'dependencies': [ | 831 'dependencies': [ |
801 'content_common', | 832 'content_common', |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 'content_java', | 1282 'content_java', |
1252 'content_unittests', | 1283 'content_unittests', |
1253 ], | 1284 ], |
1254 'variables': { | 1285 'variables': { |
1255 'test_suite_name': 'content_unittests', | 1286 'test_suite_name': 'content_unittests', |
1256 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', | 1287 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', |
1257 }, | 1288 }, |
1258 'includes': [ '../build/apk_test.gypi' ], | 1289 'includes': [ '../build/apk_test.gypi' ], |
1259 }, | 1290 }, |
1260 { | 1291 { |
| 1292 'target_name': 'content_android_linker_unittests_apk', |
| 1293 'type': 'none', |
| 1294 'dependencies': [ |
| 1295 'content_android_linker_unittests', |
| 1296 'content_java', |
| 1297 'content_java_test_support', |
| 1298 'content_shell_java', |
| 1299 ], |
| 1300 'variables': { |
| 1301 'test_suite_name': 'content_android_linker_unittests', |
| 1302 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_a
ndroid_linker_unittests<(SHARED_LIB_SUFFIX)', |
| 1303 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], |
| 1304 'use_chrome_linker': '1', |
| 1305 }, |
| 1306 'includes': [ '../build/apk_test.gypi' ], |
| 1307 }, |
| 1308 { |
1261 'target_name': 'content_browsertests_apk', | 1309 'target_name': 'content_browsertests_apk', |
1262 'type': 'none', | 1310 'type': 'none', |
1263 'dependencies': [ | 1311 'dependencies': [ |
1264 'content_browsertests', | 1312 'content_browsertests', |
1265 'content_java', | 1313 'content_java', |
1266 'content_java_test_support', | 1314 'content_java_test_support', |
1267 'content_shell_java', | 1315 'content_shell_java', |
1268 ], | 1316 ], |
1269 'variables': { | 1317 'variables': { |
1270 'apk_name': 'content_browsertests', | 1318 'apk_name': 'content_browsertests', |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | 1535 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], |
1488 }, | 1536 }, |
1489 ], | 1537 ], |
1490 }], | 1538 }], |
1491 ], | 1539 ], |
1492 }, | 1540 }, |
1493 ], | 1541 ], |
1494 }], | 1542 }], |
1495 ], | 1543 ], |
1496 } | 1544 } |
OLD | NEW |