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

Side by Side Diff: chrome/browser/extensions/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/BUILD.gn ('k') | chrome/browser/policy/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 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 assert(enable_extensions) 8 assert(enable_extensions)
9 9
10 gypi_values = 10 gypi_values =
(...skipping 29 matching lines...) Expand all
40 "//chrome/app/theme:theme_resources", 40 "//chrome/app/theme:theme_resources",
41 "//chrome/browser/devtools", 41 "//chrome/browser/devtools",
42 "//chrome/common", 42 "//chrome/common",
43 "//chrome/common/extensions/api:api_registration", 43 "//chrome/common/extensions/api:api_registration",
44 "//chrome/common/safe_browsing:proto", 44 "//chrome/common/safe_browsing:proto",
45 "//chrome/installer/util:with_no_strings", 45 "//chrome/installer/util:with_no_strings",
46 "//components/copresence", 46 "//components/copresence",
47 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", 47 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
48 "//components/dom_distiller/core", 48 "//components/dom_distiller/core",
49 "//components/onc", 49 "//components/onc",
50 "//components/policy",
51 "//components/proximity_auth", 50 "//components/proximity_auth",
52 "//components/resources", 51 "//components/resources",
53 "//components/strings", 52 "//components/strings",
54 "//components/update_client", 53 "//components/update_client",
55 "//components/url_matcher", 54 "//components/url_matcher",
56 "//content/app/resources", 55 "//content/app/resources",
57 "//content/public/common", 56 "//content/public/common",
58 "//crypto", 57 "//crypto",
59 "//device/bluetooth", 58 "//device/bluetooth",
60 "//device/hid", 59 "//device/hid",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ] 155 ]
157 } 156 }
158 if (!is_chromeos) { 157 if (!is_chromeos) {
159 sources += rebase_path( 158 sources += rebase_path(
160 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, 159 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources,
161 ".", 160 ".",
162 "//chrome") 161 "//chrome")
163 } 162 }
164 } 163 }
165 164
165 if (enable_configuration_policy) {
166 deps += [ "//components/policy" ]
167 sources += [
168 "policy_handlers.cc",
169 "policy_handlers.h",
170 ]
171 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources,
172 ".",
173 "//chrome")
174 }
175
166 if (enable_webrtc) { 176 if (enable_webrtc) {
167 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] 177 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ]
168 } else { 178 } else {
169 sources += 179 sources +=
170 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] 180 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ]
171 } 181 }
172 182
173 if (use_brlapi) { 183 if (use_brlapi) {
174 deps += [ "//build/linux:libbrlapi" ] 184 deps += [ "//build/linux:libbrlapi" ]
175 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, 185 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "//chrome") 228 "//chrome")
219 } 229 }
220 230
221 if (is_chromeos && use_ozone) { 231 if (is_chromeos && use_ozone) {
222 sources -= [ "global_shortcut_listener_chromeos.cc" ] 232 sources -= [ "global_shortcut_listener_chromeos.cc" ]
223 } 233 }
224 if (!use_ozone) { 234 if (!use_ozone) {
225 sources -= [ "global_shortcut_listener_ozone.cc" ] 235 sources -= [ "global_shortcut_listener_ozone.cc" ]
226 } 236 }
227 } 237 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/policy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698