OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 ], | 858 ], |
859 'web_modal_unittest_sources': [ | 859 'web_modal_unittest_sources': [ |
860 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 860 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
861 ], | 861 ], |
862 'web_resource_unittest_sources': [ | 862 'web_resource_unittest_sources': [ |
863 'web_resource/eula_accepted_notifier_unittest.cc', | 863 'web_resource/eula_accepted_notifier_unittest.cc', |
864 'web_resource/promo_resource_service_mobile_ntp_unittest.cc', | 864 'web_resource/promo_resource_service_mobile_ntp_unittest.cc', |
865 'web_resource/promo_resource_service_unittest.cc', | 865 'web_resource/promo_resource_service_unittest.cc', |
866 'web_resource/resource_request_allowed_notifier_unittest.cc', | 866 'web_resource/resource_request_allowed_notifier_unittest.cc', |
867 ], | 867 ], |
| 868 'web_restrictions_unittest_sources' : [ |
| 869 'web_restrictions/browser/web_restrictions_client_unittest.cc', |
| 870 'web_restrictions/browser/web_restrictions_resource_throttle_unittest.cc', |
| 871 ], |
868 'webcrypto_unittest_sources': [ | 872 'webcrypto_unittest_sources': [ |
869 'webcrypto/algorithms/aes_cbc_unittest.cc', | 873 'webcrypto/algorithms/aes_cbc_unittest.cc', |
870 'webcrypto/algorithms/aes_ctr_unittest.cc', | 874 'webcrypto/algorithms/aes_ctr_unittest.cc', |
871 'webcrypto/algorithms/aes_gcm_unittest.cc', | 875 'webcrypto/algorithms/aes_gcm_unittest.cc', |
872 'webcrypto/algorithms/aes_kw_unittest.cc', | 876 'webcrypto/algorithms/aes_kw_unittest.cc', |
873 'webcrypto/algorithms/ecdh_unittest.cc', | 877 'webcrypto/algorithms/ecdh_unittest.cc', |
874 'webcrypto/algorithms/ecdsa_unittest.cc', | 878 'webcrypto/algorithms/ecdsa_unittest.cc', |
875 'webcrypto/algorithms/hmac_unittest.cc', | 879 'webcrypto/algorithms/hmac_unittest.cc', |
876 'webcrypto/algorithms/rsa_oaep_unittest.cc', | 880 'webcrypto/algorithms/rsa_oaep_unittest.cc', |
877 'webcrypto/algorithms/rsa_pss_unittest.cc', | 881 'webcrypto/algorithms/rsa_pss_unittest.cc', |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 'components.gyp:web_modal', | 1256 'components.gyp:web_modal', |
1253 'components.gyp:web_modal_test_support', | 1257 'components.gyp:web_modal_test_support', |
1254 'scheduler/scheduler.gyp:scheduler', | 1258 'scheduler/scheduler.gyp:scheduler', |
1255 'test_runner/test_runner.gyp:test_runner', | 1259 'test_runner/test_runner.gyp:test_runner', |
1256 'tracing.gyp:tracing', | 1260 'tracing.gyp:tracing', |
1257 'webcrypto/webcrypto.gyp:webcrypto', | 1261 'webcrypto/webcrypto.gyp:webcrypto', |
1258 '../third_party/re2/re2.gyp:re2', | 1262 '../third_party/re2/re2.gyp:re2', |
1259 ], | 1263 ], |
1260 'conditions': [ | 1264 'conditions': [ |
1261 ['OS=="android"', { | 1265 ['OS=="android"', { |
| 1266 'sources' : [ |
| 1267 '<@(web_restrictions_unittest_sources)', |
| 1268 ], |
1262 'dependencies': [ | 1269 'dependencies': [ |
| 1270 'components.gyp:web_restrictions_browser', |
1263 '../build/android/ndk.gyp:cpu_features', | 1271 '../build/android/ndk.gyp:cpu_features', |
1264 ], | 1272 ], |
1265 }], | 1273 }], |
1266 ['OS=="android" and configuration_policy == 1', { | 1274 ['OS=="android" and configuration_policy == 1', { |
1267 'dependencies': [ | 1275 'dependencies': [ |
1268 'components.gyp:policy_java', | 1276 'components.gyp:policy_java', |
1269 ], | 1277 ], |
1270 }], | 1278 }], |
1271 ['use_openssl==1', { | 1279 ['use_openssl==1', { |
1272 'dependencies': [ | 1280 'dependencies': [ |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1633 }], | 1641 }], |
1634 ], | 1642 ], |
1635 }, | 1643 }, |
1636 'includes': [ '../build/apk_browsertest.gypi' ], | 1644 'includes': [ '../build/apk_browsertest.gypi' ], |
1637 }, | 1645 }, |
1638 { | 1646 { |
1639 'target_name': 'components_unittests_apk', | 1647 'target_name': 'components_unittests_apk', |
1640 'isolate_file': 'components_unittests.isolate', | 1648 'isolate_file': 'components_unittests.isolate', |
1641 'type': 'none', | 1649 'type': 'none', |
1642 'dependencies': [ | 1650 'dependencies': [ |
| 1651 'components_java_test_stubs', |
1643 'components_unittests', | 1652 'components_unittests', |
1644 'components.gyp:invalidation_java', | 1653 'components.gyp:invalidation_java', |
1645 'components.gyp:signin_core_browser_java', | 1654 'components.gyp:signin_core_browser_java', |
1646 ], | 1655 ], |
1647 'variables': { | 1656 'variables': { |
1648 'test_suite_name': 'components_unittests', | 1657 'test_suite_name': 'components_unittests', |
1649 }, | 1658 }, |
1650 'includes': [ '../build/apk_test.gypi' ], | 1659 'includes': [ '../build/apk_test.gypi' ], |
1651 }, | 1660 }, |
1652 { | 1661 { |
1653 'target_name': 'components_junit_tests', | 1662 'target_name': 'components_junit_tests', |
1654 'type': 'none', | 1663 'type': 'none', |
1655 'dependencies': [ | 1664 'dependencies': [ |
1656 'components.gyp:invalidation_java', | 1665 'components.gyp:invalidation_java', |
1657 'components.gyp:policy_java', | 1666 'components.gyp:policy_java', |
1658 'components.gyp:policy_java_test_support', | 1667 'components.gyp:policy_java_test_support', |
1659 'components.gyp:web_restrictions_java', | 1668 'components.gyp:web_restrictions_java', |
1660 '../base/base.gyp:base_java', | 1669 '../base/base.gyp:base_java', |
1661 '../base/base.gyp:base_java_test_support', | 1670 '../base/base.gyp:base_java_test_support', |
1662 '../testing/android/junit/junit_test.gyp:junit_test_support', | 1671 '../testing/android/junit/junit_test.gyp:junit_test_support', |
1663 ], | 1672 ], |
1664 'variables': { | 1673 'variables': { |
1665 'main_class': 'org.chromium.testing.local.JunitTestMain', | 1674 'main_class': 'org.chromium.testing.local.JunitTestMain', |
1666 'src_paths': [ | 1675 'src_paths': [ |
1667 'invalidation/impl/android/junit/', | 1676 'invalidation/impl/android/junit/', |
1668 'policy/android/junit/', | 1677 'policy/android/junit/', |
1669 'web_restrictions/junit/' | 1678 'web_restrictions/browser/junit/' |
1670 ], | 1679 ], |
1671 }, | 1680 }, |
1672 'includes': [ '../build/host_jar.gypi' ], | 1681 'includes': [ '../build/host_jar.gypi' ], |
1673 }, | 1682 }, |
| 1683 { |
| 1684 'target_name': 'components_java_test_stubs', |
| 1685 'type': 'none', |
| 1686 'dependencies': [ |
| 1687 '../base/base.gyp:base_java', |
| 1688 ], |
| 1689 'variables': { |
| 1690 'java_in_dir': [ |
| 1691 'web_restrictions/browser/javatest/' |
| 1692 ], |
| 1693 }, |
| 1694 'includes': [ '../build/java.gypi' ], |
| 1695 } |
1674 ], | 1696 ], |
1675 'conditions': [ | 1697 'conditions': [ |
1676 ['test_isolation_mode != "noop"', | 1698 ['test_isolation_mode != "noop"', |
1677 { | 1699 { |
1678 'targets': [ | 1700 'targets': [ |
1679 { | 1701 { |
1680 'target_name': 'components_browsertests_apk_run', | 1702 'target_name': 'components_browsertests_apk_run', |
1681 'type': 'none', | 1703 'type': 'none', |
1682 'dependencies': [ | 1704 'dependencies': [ |
1683 'components_browsertests_apk', | 1705 'components_browsertests_apk', |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1895 'dependencies': [ | 1917 'dependencies': [ |
1896 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1918 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1897 ], | 1919 ], |
1898 }], | 1920 }], |
1899 ], | 1921 ], |
1900 }, | 1922 }, |
1901 ], | 1923 ], |
1902 }], | 1924 }], |
1903 ], | 1925 ], |
1904 } | 1926 } |
OLD | NEW |