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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 }], | 781 }], |
782 # TODO(bryaneyler): Also enable these for OpenSSL once that | 782 # TODO(bryaneyler): Also enable these for OpenSSL once that |
783 # implementation is ready. Issue 267888. | 783 # implementation is ready. Issue 267888. |
784 ['use_nss!=1', { | 784 ['use_nss!=1', { |
785 'sources!': [ | 785 'sources!': [ |
786 'renderer/webcrypto_impl_unittest.cc', | 786 'renderer/webcrypto_impl_unittest.cc', |
787 ], | 787 ], |
788 }], | 788 }], |
789 ], | 789 ], |
790 }, | 790 }, |
| 791 { |
| 792 'target_name': 'content_android_linker_unittests', |
| 793 'type': '<(gtest_target_type)', |
| 794 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 795 'dependencies': [ |
| 796 'content_browser', |
| 797 'content_common', |
| 798 'test_support_content', |
| 799 '../base/base.gyp:test_support_base', |
| 800 '../testing/gmock.gyp:gmock', |
| 801 '../testing/gtest.gyp:gtest', |
| 802 ], |
| 803 'include_dirs': [ |
| 804 '..', |
| 805 ], |
| 806 'sources': [ |
| 807 'test/run_all_unittests.cc', |
| 808 ], |
| 809 'conditions': [ |
| 810 ['OS=="android"', { |
| 811 'sources': [ |
| 812 'test/content_android_linker_unittest.cc', |
| 813 ], |
| 814 }], |
| 815 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 816 'dependencies': [ |
| 817 '../testing/android/native_test.gyp:native_test_native_code', |
| 818 ], |
| 819 }], |
| 820 ], |
| 821 } |
791 ], | 822 ], |
792 'conditions': [ | 823 'conditions': [ |
793 ['OS!="ios"', { | 824 ['OS!="ios"', { |
794 'targets': [ | 825 'targets': [ |
795 { | 826 { |
796 'target_name': 'content_browsertests', | 827 'target_name': 'content_browsertests', |
797 'type': '<(gtest_target_type)', | 828 'type': '<(gtest_target_type)', |
798 'defines!': ['CONTENT_IMPLEMENTATION'], | 829 'defines!': ['CONTENT_IMPLEMENTATION'], |
799 'dependencies': [ | 830 'dependencies': [ |
800 'content_common', | 831 'content_common', |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 'content_java', | 1289 'content_java', |
1259 'content_unittests', | 1290 'content_unittests', |
1260 ], | 1291 ], |
1261 'variables': { | 1292 'variables': { |
1262 'test_suite_name': 'content_unittests', | 1293 'test_suite_name': 'content_unittests', |
1263 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', | 1294 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', |
1264 }, | 1295 }, |
1265 'includes': [ '../build/apk_test.gypi' ], | 1296 'includes': [ '../build/apk_test.gypi' ], |
1266 }, | 1297 }, |
1267 { | 1298 { |
| 1299 'target_name': 'content_android_linker_unittests_apk', |
| 1300 'type': 'none', |
| 1301 'dependencies': [ |
| 1302 'content_java', |
| 1303 'content_android_linker_unittests', |
| 1304 ], |
| 1305 'variables': { |
| 1306 'test_suite_name': 'content_android_linker_unittests', |
| 1307 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_a
ndroid_linker_unittests<(SHARED_LIB_SUFFIX)', |
| 1308 }, |
| 1309 'includes': [ '../build/apk_test.gypi' ], |
| 1310 }, |
| 1311 { |
1268 'target_name': 'content_browsertests_apk', | 1312 'target_name': 'content_browsertests_apk', |
1269 'type': 'none', | 1313 'type': 'none', |
1270 'dependencies': [ | 1314 'dependencies': [ |
1271 'content_browsertests', | 1315 'content_browsertests', |
1272 'content_java', | 1316 'content_java', |
1273 'content_java_test_support', | 1317 'content_java_test_support', |
1274 'content_shell_java', | 1318 'content_shell_java', |
1275 ], | 1319 ], |
1276 'variables': { | 1320 'variables': { |
1277 'apk_name': 'content_browsertests', | 1321 'apk_name': 'content_browsertests', |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1494 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | 1538 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], |
1495 }, | 1539 }, |
1496 ], | 1540 ], |
1497 }], | 1541 }], |
1498 ], | 1542 ], |
1499 }, | 1543 }, |
1500 ], | 1544 ], |
1501 }], | 1545 }], |
1502 ], | 1546 ], |
1503 } | 1547 } |
OLD | NEW |