Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: components/components_tests.gyp

Issue 1684153002: Web restrictions component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use source_set for test_support Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/OWNERS ('k') | components/test/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 ], 860 ],
861 'web_modal_unittest_sources': [ 861 'web_modal_unittest_sources': [
862 'web_modal/web_contents_modal_dialog_manager_unittest.cc', 862 'web_modal/web_contents_modal_dialog_manager_unittest.cc',
863 ], 863 ],
864 'web_resource_unittest_sources': [ 864 'web_resource_unittest_sources': [
865 'web_resource/eula_accepted_notifier_unittest.cc', 865 'web_resource/eula_accepted_notifier_unittest.cc',
866 'web_resource/promo_resource_service_mobile_ntp_unittest.cc', 866 'web_resource/promo_resource_service_mobile_ntp_unittest.cc',
867 'web_resource/promo_resource_service_unittest.cc', 867 'web_resource/promo_resource_service_unittest.cc',
868 'web_resource/resource_request_allowed_notifier_unittest.cc', 868 'web_resource/resource_request_allowed_notifier_unittest.cc',
869 ], 869 ],
870 'web_restrictions_unittest_sources' : [
871 'web_restrictions/browser/web_restrictions_client_unittest.cc',
872 'web_restrictions/browser/web_restrictions_resource_throttle_unittest.cc',
873 ],
870 'webcrypto_unittest_sources': [ 874 'webcrypto_unittest_sources': [
871 'webcrypto/algorithms/aes_cbc_unittest.cc', 875 'webcrypto/algorithms/aes_cbc_unittest.cc',
872 'webcrypto/algorithms/aes_ctr_unittest.cc', 876 'webcrypto/algorithms/aes_ctr_unittest.cc',
873 'webcrypto/algorithms/aes_gcm_unittest.cc', 877 'webcrypto/algorithms/aes_gcm_unittest.cc',
874 'webcrypto/algorithms/aes_kw_unittest.cc', 878 'webcrypto/algorithms/aes_kw_unittest.cc',
875 'webcrypto/algorithms/ecdh_unittest.cc', 879 'webcrypto/algorithms/ecdh_unittest.cc',
876 'webcrypto/algorithms/ecdsa_unittest.cc', 880 'webcrypto/algorithms/ecdsa_unittest.cc',
877 'webcrypto/algorithms/hmac_unittest.cc', 881 'webcrypto/algorithms/hmac_unittest.cc',
878 'webcrypto/algorithms/rsa_oaep_unittest.cc', 882 'webcrypto/algorithms/rsa_oaep_unittest.cc',
879 'webcrypto/algorithms/rsa_pss_unittest.cc', 883 'webcrypto/algorithms/rsa_pss_unittest.cc',
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 'components.gyp:web_modal', 1260 'components.gyp:web_modal',
1257 'components.gyp:web_modal_test_support', 1261 'components.gyp:web_modal_test_support',
1258 'scheduler/scheduler.gyp:scheduler', 1262 'scheduler/scheduler.gyp:scheduler',
1259 'test_runner/test_runner.gyp:test_runner', 1263 'test_runner/test_runner.gyp:test_runner',
1260 'tracing.gyp:tracing', 1264 'tracing.gyp:tracing',
1261 'webcrypto/webcrypto.gyp:webcrypto', 1265 'webcrypto/webcrypto.gyp:webcrypto',
1262 '../third_party/re2/re2.gyp:re2', 1266 '../third_party/re2/re2.gyp:re2',
1263 ], 1267 ],
1264 'conditions': [ 1268 'conditions': [
1265 ['OS=="android"', { 1269 ['OS=="android"', {
1270 'sources' : [
1271 '<@(web_restrictions_unittest_sources)',
1272 ],
1266 'dependencies': [ 1273 'dependencies': [
1274 'components.gyp:web_restrictions_browser',
1275 'components.gyp:web_restrictions_test_support',
1267 '../build/android/ndk.gyp:cpu_features', 1276 '../build/android/ndk.gyp:cpu_features',
1268 ], 1277 ],
1269 }], 1278 }],
1270 ['OS=="android" and configuration_policy == 1', { 1279 ['OS=="android" and configuration_policy == 1', {
1271 'dependencies': [ 1280 'dependencies': [
1272 'components.gyp:policy_java', 1281 'components.gyp:policy_java',
1273 ], 1282 ],
1274 }], 1283 }],
1275 ['use_openssl==1', { 1284 ['use_openssl==1', {
1276 'dependencies': [ 1285 'dependencies': [
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 'includes': [ '../build/apk_browsertest.gypi' ], 1649 'includes': [ '../build/apk_browsertest.gypi' ],
1641 }, 1650 },
1642 { 1651 {
1643 'target_name': 'components_unittests_apk', 1652 'target_name': 'components_unittests_apk',
1644 'isolate_file': 'components_unittests.isolate', 1653 'isolate_file': 'components_unittests.isolate',
1645 'type': 'none', 1654 'type': 'none',
1646 'dependencies': [ 1655 'dependencies': [
1647 'components_unittests', 1656 'components_unittests',
1648 'components.gyp:invalidation_java', 1657 'components.gyp:invalidation_java',
1649 'components.gyp:signin_core_browser_java', 1658 'components.gyp:signin_core_browser_java',
1659 'components.gyp:web_restrictions_test_support_java',
1650 ], 1660 ],
1651 'variables': { 1661 'variables': {
1652 'test_suite_name': 'components_unittests', 1662 'test_suite_name': 'components_unittests',
1653 }, 1663 },
1654 'includes': [ '../build/apk_test.gypi' ], 1664 'includes': [ '../build/apk_test.gypi' ],
1655 }, 1665 },
1656 { 1666 {
1657 'target_name': 'components_junit_tests', 1667 'target_name': 'components_junit_tests',
1658 'type': 'none', 1668 'type': 'none',
1659 'dependencies': [ 1669 'dependencies': [
1660 'components.gyp:invalidation_java', 1670 'components.gyp:invalidation_java',
1661 'components.gyp:policy_java', 1671 'components.gyp:policy_java',
1662 'components.gyp:policy_java_test_support', 1672 'components.gyp:policy_java_test_support',
1663 'components.gyp:web_restrictions_java', 1673 'components.gyp:web_restrictions_java',
1664 '../base/base.gyp:base_java', 1674 '../base/base.gyp:base_java',
1665 '../base/base.gyp:base_java_test_support', 1675 '../base/base.gyp:base_java_test_support',
1666 '../testing/android/junit/junit_test.gyp:junit_test_support', 1676 '../testing/android/junit/junit_test.gyp:junit_test_support',
1667 ], 1677 ],
1668 'variables': { 1678 'variables': {
1669 'main_class': 'org.chromium.testing.local.JunitTestMain', 1679 'main_class': 'org.chromium.testing.local.JunitTestMain',
1670 'src_paths': [ 1680 'src_paths': [
1671 'invalidation/impl/android/junit/', 1681 'invalidation/impl/android/junit/',
1672 'policy/android/junit/', 1682 'policy/android/junit/',
1673 'web_restrictions/junit/' 1683 'web_restrictions/browser/junit/'
1674 ], 1684 ],
1675 }, 1685 },
1676 'includes': [ '../build/host_jar.gypi' ], 1686 'includes': [ '../build/host_jar.gypi' ],
1677 }, 1687 },
1678 ], 1688 ],
1679 'conditions': [ 1689 'conditions': [
1680 ['test_isolation_mode != "noop"', 1690 ['test_isolation_mode != "noop"',
1681 { 1691 {
1682 'targets': [ 1692 'targets': [
1683 { 1693 {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 'dependencies': [ 1909 'dependencies': [
1900 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1910 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1901 ], 1911 ],
1902 }], 1912 }],
1903 ], 1913 ],
1904 }, 1914 },
1905 ], 1915 ],
1906 }], 1916 }],
1907 ], 1917 ],
1908 } 1918 }
OLDNEW
« no previous file with comments | « components/OWNERS ('k') | components/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698