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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/OWNERS ('k') | components/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index db3b5420d32e3bae7e3ed7cc88f86699ea383f0f..2ddfba72890091a92fdb65e61043d77b922ceb51 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -867,6 +867,10 @@
'web_resource/promo_resource_service_unittest.cc',
'web_resource/resource_request_allowed_notifier_unittest.cc',
],
+ 'web_restrictions_unittest_sources' : [
+ 'web_restrictions/browser/web_restrictions_client_unittest.cc',
+ 'web_restrictions/browser/web_restrictions_resource_throttle_unittest.cc',
+ ],
'webcrypto_unittest_sources': [
'webcrypto/algorithms/aes_cbc_unittest.cc',
'webcrypto/algorithms/aes_ctr_unittest.cc',
@@ -1263,7 +1267,12 @@
],
'conditions': [
['OS=="android"', {
+ 'sources' : [
+ '<@(web_restrictions_unittest_sources)',
+ ],
'dependencies': [
+ 'components.gyp:web_restrictions_browser',
+ 'components.gyp:web_restrictions_test_support',
'../build/android/ndk.gyp:cpu_features',
],
}],
@@ -1647,6 +1656,7 @@
'components_unittests',
'components.gyp:invalidation_java',
'components.gyp:signin_core_browser_java',
+ 'components.gyp:web_restrictions_test_support_java',
],
'variables': {
'test_suite_name': 'components_unittests',
@@ -1670,7 +1680,7 @@
'src_paths': [
'invalidation/impl/android/junit/',
'policy/android/junit/',
- 'web_restrictions/junit/'
+ 'web_restrictions/browser/junit/'
],
},
'includes': [ '../build/host_jar.gypi' ],
« 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