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

Side by Side Diff: chrome/common/BUILD.gn

Issue 1818423003: Revert of Remove configuration policy from chrome build files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@policy_chrome_defines
Patch Set: Created 4 years, 9 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/policy.gypi » ('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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//chrome/version.gni") 7 import("//chrome/version.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 "//components/favicon_base", 82 "//components/favicon_base",
83 "//components/flags_ui:switches", 83 "//components/flags_ui:switches",
84 "//components/gcm_driver/common", 84 "//components/gcm_driver/common",
85 "//components/json_schema", 85 "//components/json_schema",
86 "//components/metrics", 86 "//components/metrics",
87 "//components/metrics:net", 87 "//components/metrics:net",
88 "//components/nacl/common:process_type", 88 "//components/nacl/common:process_type",
89 "//components/nacl/common:switches", 89 "//components/nacl/common:switches",
90 "//components/offline_pages:switches", 90 "//components/offline_pages:switches",
91 "//components/omnibox/common", 91 "//components/omnibox/common",
92 "//components/policy",
93 "//components/policy:policy_component_common", 92 "//components/policy:policy_component_common",
94 "//components/prefs", 93 "//components/prefs",
95 "//components/strings", 94 "//components/strings",
96 "//components/translate/core/common", 95 "//components/translate/core/common",
97 "//components/url_formatter", 96 "//components/url_formatter",
98 "//components/variations", 97 "//components/variations",
99 "//components/version_info", 98 "//components/version_info",
100 "//content/public/common", 99 "//content/public/common",
101 "//crypto", 100 "//crypto",
102 "//extensions/common:common_constants", 101 "//extensions/common:common_constants",
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 } 264 }
266 if (enable_plugins && enable_extensions) { 265 if (enable_plugins && enable_extensions) {
267 sources += [ 266 sources += [
268 "pepper_permission_util.cc", 267 "pepper_permission_util.cc",
269 "pepper_permission_util.h", 268 "pepper_permission_util.h",
270 ] 269 ]
271 } 270 }
272 if (!enable_webrtc) { 271 if (!enable_webrtc) {
273 sources -= [ "media/webrtc_logging_messages.h" ] 272 sources -= [ "media/webrtc_logging_messages.h" ]
274 } 273 }
274 if (enable_configuration_policy) {
275 public_deps += [ "//components/policy" ]
276 }
275 277
276 if (safe_browsing_mode == 1) { 278 if (safe_browsing_mode == 1) {
277 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, 279 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources,
278 ".", 280 ".",
279 "//chrome") 281 "//chrome")
280 } 282 }
281 } 283 }
282 284
283 # GYP version: chrome/common_constants.gyp:version_header 285 # GYP version: chrome/common_constants.gyp:version_header
284 process_version("version_header") { 286 process_version("version_header") {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 ":constants", 394 ":constants",
393 "//base", 395 "//base",
394 ] 396 ]
395 } 397 }
396 398
397 mojom("mojo_bindings") { 399 mojom("mojo_bindings") {
398 sources = [ 400 sources = [
399 "resource_usage_reporter.mojom", 401 "resource_usage_reporter.mojom",
400 ] 402 ]
401 } 403 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/policy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698