OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |