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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 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
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 group("common") { 7 group("common") {
8 if (is_component_build) { 8 if (is_component_build) {
9 public_deps = [ 9 public_deps = [
10 "//components/policy", 10 "//components/policy",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 public_deps = [ 140 public_deps = [
141 "//components/policy:generated", 141 "//components/policy:generated",
142 "//components/policy/proto", 142 "//components/policy/proto",
143 ] 143 ]
144 deps = [ 144 deps = [
145 "//base:i18n", 145 "//base:i18n",
146 "//base/third_party/dynamic_annotations", 146 "//base/third_party/dynamic_annotations",
147 "//components/data_use_measurement/core", 147 "//components/data_use_measurement/core",
148 "//components/json_schema", 148 "//components/json_schema",
149 "//components/prefs", 149 "//components/prefs",
150 "//extensions/features",
150 "//google_apis", 151 "//google_apis",
151 "//net", 152 "//net",
152 "//third_party/re2", 153 "//third_party/re2",
153 "//url", 154 "//url",
154 ] 155 ]
155 156
156 if (is_win) { 157 if (is_win) {
157 libs = [ 158 libs = [
158 "shlwapi.lib", 159 "shlwapi.lib",
159 "userenv.lib", 160 "userenv.lib",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 "//crypto", 284 "//crypto",
284 "//net", 285 "//net",
285 "//testing/gmock", 286 "//testing/gmock",
286 "//testing/gtest", 287 "//testing/gtest",
287 ] 288 ]
288 } 289 }
289 290
290 source_set("unit_tests") { 291 source_set("unit_tests") {
291 testonly = true 292 testonly = true
292 sources = [ 293 sources = [
294 "//extensions/features",
293 "cloud/cloud_policy_client_unittest.cc", 295 "cloud/cloud_policy_client_unittest.cc",
294 "cloud/cloud_policy_core_unittest.cc", 296 "cloud/cloud_policy_core_unittest.cc",
295 "cloud/cloud_policy_manager_unittest.cc", 297 "cloud/cloud_policy_manager_unittest.cc",
296 "cloud/cloud_policy_refresh_scheduler_unittest.cc", 298 "cloud/cloud_policy_refresh_scheduler_unittest.cc",
297 "cloud/cloud_policy_service_unittest.cc", 299 "cloud/cloud_policy_service_unittest.cc",
298 "cloud/cloud_policy_validator_unittest.cc", 300 "cloud/cloud_policy_validator_unittest.cc",
299 "cloud/device_management_service_unittest.cc", 301 "cloud/device_management_service_unittest.cc",
300 "cloud/policy_header_io_helper_unittest.cc", 302 "cloud/policy_header_io_helper_unittest.cc",
301 "cloud/policy_header_service_unittest.cc", 303 "cloud/policy_header_service_unittest.cc",
302 "cloud/user_info_fetcher_unittest.cc", 304 "cloud/user_info_fetcher_unittest.cc",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 "//chrome/test/data/policy/", 351 "//chrome/test/data/policy/",
350 ] 352 ]
351 } 353 }
352 354
353 deps = [ 355 deps = [
354 ":test_support", 356 ":test_support",
355 "//base", 357 "//base",
356 "//base/test:test_support", 358 "//base/test:test_support",
357 "//components/policy:generated", 359 "//components/policy:generated",
358 "//components/prefs:test_support", 360 "//components/prefs:test_support",
361 "//extensions/features",
359 "//google_apis", 362 "//google_apis",
360 "//net:test_support", 363 "//net:test_support",
361 "//testing/gmock", 364 "//testing/gmock",
362 "//testing/gtest", 365 "//testing/gtest",
363 ] 366 ]
364 } 367 }
365 } 368 }
OLDNEW
« no previous file with comments | « components/content_settings/core/browser/cookie_settings_unittest.cc ('k') | components/policy/core/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698