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

Side by Side Diff: components/BUILD.gn

Issue 952163002: Fix dependencies on //components/policy in gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing import Created 5 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 | « no previous file | components/ownership/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 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 # Collection of all components. You wouldn't link to this, but this is rather 9 # Collection of all components. You wouldn't link to this, but this is rather
10 # to reference the files so they can be compiled by the build system. 10 # to reference the files so they can be compiled by the build system.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 "//components/web_cache/browser", 108 "//components/web_cache/browser",
109 "//components/web_cache/common", 109 "//components/web_cache/common",
110 "//components/web_cache/renderer", 110 "//components/web_cache/renderer",
111 "//components/web_modal", 111 "//components/web_modal",
112 "//components/webdata/common", 112 "//components/webdata/common",
113 "//components/web_resource", 113 "//components/web_resource",
114 "//components/wifi", 114 "//components/wifi",
115 "//components/wifi_sync", 115 "//components/wifi_sync",
116 ] 116 ]
117 117
118 if (!enable_configuration_policy) {
119 deps -= [ "//components/policy" ]
120 }
121
118 if (!is_win && !is_mac) { 122 if (!is_win && !is_mac) {
119 deps -= [ "//components/wifi" ] 123 deps -= [ "//components/wifi" ]
120 } 124 }
121 if (!is_chromeos) { 125 if (!is_chromeos) {
122 deps -= [ 126 deps -= [
123 "//components/pairing", 127 "//components/pairing",
124 "//components/wifi_sync", 128 "//components/wifi_sync",
125 ] 129 ]
126 } 130 }
127 if (is_ios) { 131 if (is_ios) {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 278
275 if (toolkit_views) { 279 if (toolkit_views) {
276 # TODO(GYP) enable this as above. 280 # TODO(GYP) enable this as above.
277 #deps += [ "//components/constrained_window:unit_tests" ] 281 #deps += [ "//components/constrained_window:unit_tests" ]
278 } 282 }
279 if (is_win) { 283 if (is_win) {
280 deps += [ "//components/browser_watcher:unit_tests" ] 284 deps += [ "//components/browser_watcher:unit_tests" ]
281 } 285 }
282 } 286 }
283 } 287 }
OLDNEW
« no previous file with comments | « no previous file | components/ownership/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698