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' ], |