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

Side by Side Diff: components/policy/core/common/BUILD.gn

Issue 1418543006: Make component_unittests run the same tests on GYP and GN on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/metrics/BUILD.gn ('k') | components/scheduler/BUILD.gn » ('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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 source_set("common") { 7 source_set("common") {
8 visibility = [ "//components/policy/*" ] 8 visibility = [ "//components/policy/*" ]
9 9
10 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] 10 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ]
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 "schema_unittest.cc", 253 "schema_unittest.cc",
254 ] 254 ]
255 255
256 if (is_chromeos) { 256 if (is_chromeos) {
257 sources -= [ 257 sources -= [
258 "cloud/user_cloud_policy_manager_unittest.cc", 258 "cloud/user_cloud_policy_manager_unittest.cc",
259 "cloud/user_cloud_policy_store_unittest.cc", 259 "cloud/user_cloud_policy_store_unittest.cc",
260 ] 260 ]
261 } 261 }
262 262
263 if (is_android) {
264 sources -= [ "async_policy_provider_unittest.cc" ]
265 }
266
263 if (is_android || is_ios) { 267 if (is_android || is_ios) {
264 sources -= [ 268 sources -= [
265 "cloud/component_cloud_policy_service_unittest.cc", 269 "cloud/component_cloud_policy_service_unittest.cc",
266 "cloud/component_cloud_policy_store_unittest.cc", 270 "cloud/component_cloud_policy_store_unittest.cc",
267 "cloud/component_cloud_policy_updater_unittest.cc", 271 "cloud/component_cloud_policy_updater_unittest.cc",
268 "cloud/external_policy_data_fetcher_unittest.cc", 272 "cloud/external_policy_data_fetcher_unittest.cc",
269 "cloud/external_policy_data_updater_unittest.cc", 273 "cloud/external_policy_data_updater_unittest.cc",
270 "cloud/resource_cache_unittest.cc", 274 "cloud/resource_cache_unittest.cc",
271 "config_dir_policy_loader_unittest.cc", 275 "config_dir_policy_loader_unittest.cc",
272 ] 276 ]
273 } 277 }
274 278
275 deps = [ 279 deps = [
276 "//testing/gmock", 280 "//testing/gmock",
277 "//testing/gtest", 281 "//testing/gtest",
278 ] 282 ]
279 if (enable_configuration_policy) { 283 if (enable_configuration_policy) {
280 deps += [ "//components/policy:policy_component_test_support" ] 284 deps += [ "//components/policy:policy_component_test_support" ]
281 } 285 }
282 } 286 }
OLDNEW
« no previous file with comments | « components/metrics/BUILD.gn ('k') | components/scheduler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698