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

Side by Side Diff: chrome/browser/ui/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/browser/policy/profile_policy_connector_stub.cc ('k') | chrome/chrome.gyp » ('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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/common/features.gni") 8 import("//chrome/common/features.gni")
9 9
10 gypi_values = exec_script("//build/gypi_to_gn.py", 10 gypi_values = exec_script("//build/gypi_to_gn.py",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "//components/invalidation/impl", 76 "//components/invalidation/impl",
77 "//components/keyed_service/content", 77 "//components/keyed_service/content",
78 "//components/keyed_service/core", 78 "//components/keyed_service/core",
79 "//components/metrics:profiler", 79 "//components/metrics:profiler",
80 "//components/mime_util", 80 "//components/mime_util",
81 "//components/omnibox/browser", 81 "//components/omnibox/browser",
82 "//components/onc", 82 "//components/onc",
83 "//components/password_manager/content/browser", 83 "//components/password_manager/content/browser",
84 "//components/password_manager/core/browser", 84 "//components/password_manager/core/browser",
85 "//components/pdf/browser", 85 "//components/pdf/browser",
86 "//components/policy",
87 "//components/pref_registry", 86 "//components/pref_registry",
88 "//components/proximity_auth", 87 "//components/proximity_auth",
89 "//components/proxy_config", 88 "//components/proxy_config",
90 "//components/query_parser", 89 "//components/query_parser",
91 "//components/rappor", 90 "//components/rappor",
92 "//components/renderer_context_menu", 91 "//components/renderer_context_menu",
93 "//components/resources", 92 "//components/resources",
94 "//components/search", 93 "//components/search",
95 "//components/search_engines", 94 "//components/search_engines",
96 "//components/security_interstitials/core", 95 "//components/security_interstitials/core",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 212
214 if (enable_basic_printing || enable_print_preview) { 213 if (enable_basic_printing || enable_print_preview) {
215 deps += [ "//printing" ] 214 deps += [ "//printing" ]
216 } 215 }
217 216
218 if (enable_nacl) { 217 if (enable_nacl) {
219 sources += 218 sources +=
220 rebase_path(gypi_values.chrome_browser_ui_nacl_sources, ".", "//chrome") 219 rebase_path(gypi_values.chrome_browser_ui_nacl_sources, ".", "//chrome")
221 deps += [ "//native_client/src/trusted/service_runtime:sel" ] 220 deps += [ "//native_client/src/trusted/service_runtime:sel" ]
222 } 221 }
222 if (enable_configuration_policy) {
223 sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources,
224 ".",
225 "//chrome")
226 deps += [ "//components/policy" ]
227 }
223 if (enable_plugins) { 228 if (enable_plugins) {
224 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources, 229 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources,
225 ".", 230 ".",
226 "//chrome") 231 "//chrome")
227 deps += [ "//ppapi/proxy:ipc" ] 232 deps += [ "//ppapi/proxy:ipc" ]
228 } 233 }
229 if (safe_browsing_mode == 1) { 234 if (safe_browsing_mode == 1) {
230 deps += [ 235 deps += [
231 "//chrome/browser/safe_browsing:chunk_proto", 236 "//chrome/browser/safe_browsing:chunk_proto",
232 "//chrome/common/safe_browsing:proto", 237 "//chrome/common/safe_browsing:proto",
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 "//chrome/browser", 669 "//chrome/browser",
665 "//content/public/browser", 670 "//content/public/browser",
666 "//content/public/common", 671 "//content/public/common",
667 "//content/test:test_support", 672 "//content/test:test_support",
668 "//net:test_support", 673 "//net:test_support",
669 "//skia", 674 "//skia",
670 "//testing/gtest", 675 "//testing/gtest",
671 "//ui/base", 676 "//ui/base",
672 ] 677 ]
673 } 678 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/profile_policy_connector_stub.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698