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

Side by Side Diff: components/BUILD.gn

Issue 2558043004: Remove enable_configuration_policy build define. (Closed)
Patch Set: Merge Created 4 years 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') | components/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/chrome_build.gni") 5 import("//build/config/chrome_build.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("//printing/features/features.gni") 8 import("//printing/features/features.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "//components/guest_view/browser:unit_tests", 191 "//components/guest_view/browser:unit_tests",
192 "//components/history/content/browser:unit_tests", 192 "//components/history/content/browser:unit_tests",
193 "//components/invalidation/impl:unit_tests", 193 "//components/invalidation/impl:unit_tests",
194 "//components/keyed_service/content:unit_tests", 194 "//components/keyed_service/content:unit_tests",
195 "//components/link_header_util:unit_tests", 195 "//components/link_header_util:unit_tests",
196 "//components/navigation_interception:unit_tests", 196 "//components/navigation_interception:unit_tests",
197 "//components/network_hints/renderer:unit_tests", 197 "//components/network_hints/renderer:unit_tests",
198 "//components/offline_pages/content/background_loader:unit_tests", 198 "//components/offline_pages/content/background_loader:unit_tests",
199 "//components/packed_ct_ev_whitelist:unit_tests", 199 "//components/packed_ct_ev_whitelist:unit_tests",
200 "//components/password_manager/content/browser:unit_tests", 200 "//components/password_manager/content/browser:unit_tests",
201 "//components/policy/core/browser:unit_tests",
202 "//components/policy/core/common:unit_tests",
201 "//components/precache/content:unit_tests", 203 "//components/precache/content:unit_tests",
202 "//components/safe_browsing_db:unit_tests", 204 "//components/safe_browsing_db:unit_tests",
203 "//components/safe_json:unit_tests", 205 "//components/safe_json:unit_tests",
204 "//components/security_state/content:unit_tests", 206 "//components/security_state/content:unit_tests",
205 "//components/spellcheck/browser:unit_tests", 207 "//components/spellcheck/browser:unit_tests",
206 "//components/spellcheck/renderer:unit_tests", 208 "//components/spellcheck/renderer:unit_tests",
207 "//components/subresource_filter/content/browser:unit_tests", 209 "//components/subresource_filter/content/browser:unit_tests",
208 "//components/subresource_filter/content/renderer:unit_tests", 210 "//components/subresource_filter/content/renderer:unit_tests",
209 "//components/tracing:unit_tests", 211 "//components/tracing:unit_tests",
210 "//components/visitedlink/test:unit_tests", 212 "//components/visitedlink/test:unit_tests",
(...skipping 18 matching lines...) Expand all
229 data_deps += [ "//content/shell:pak" ] 231 data_deps += [ "//content/shell:pak" ]
230 } 232 }
231 233
232 if (is_android) { 234 if (is_android) {
233 deps += [ 235 deps += [
234 "//components/gcm_driver/instance_id:test_support", 236 "//components/gcm_driver/instance_id:test_support",
235 "//components/gcm_driver/instance_id/android:instance_id_driver_java", 237 "//components/gcm_driver/instance_id/android:instance_id_driver_java",
236 "//components/gcm_driver/instance_id/android:instance_id_driver_test_suppo rt_java", 238 "//components/gcm_driver/instance_id/android:instance_id_driver_test_suppo rt_java",
237 "//components/invalidation/impl", 239 "//components/invalidation/impl",
238 "//components/invalidation/impl:java", 240 "//components/invalidation/impl:java",
241 "//components/policy/android:policy_java",
239 "//components/safe_json", 242 "//components/safe_json",
240 "//components/safe_json/android:safe_json_java", 243 "//components/safe_json/android:safe_json_java",
241 "//components/signin/core/browser", 244 "//components/signin/core/browser",
242 "//components/signin/core/browser/android:java", 245 "//components/signin/core/browser/android:java",
243 "//components/spellcheck/browser/android:java", 246 "//components/spellcheck/browser/android:java",
244 "//components/variations/android:variations_java", 247 "//components/variations/android:variations_java",
245 "//components/web_restrictions:test_support", 248 "//components/web_restrictions:test_support",
246 "//components/web_restrictions:test_support_java", 249 "//components/web_restrictions:test_support_java",
247 "//components/web_restrictions:unit_tests", 250 "//components/web_restrictions:unit_tests",
248 "//content/public/android:content_java", 251 "//content/public/android:content_java",
249 "//content/public/browser", 252 "//content/public/browser",
250 "//net", 253 "//net",
251 "//ui/android:ui_java", 254 "//ui/android:ui_java",
252 "//ui/base", 255 "//ui/base",
253 "//ui/gfx", 256 "//ui/gfx",
254 "//v8:v8_external_startup_data_assets", 257 "//v8:v8_external_startup_data_assets",
255 ] 258 ]
256
257 if (enable_configuration_policy) {
258 deps += [ "//components/policy/android:policy_java" ]
259 }
260 } 259 }
261 260
262 # Desktop-only deps. 261 # Desktop-only deps.
263 if (!is_android && !is_ios) { 262 if (!is_android && !is_ios) {
264 deps += [ 263 deps += [
265 "//components/cryptauth:unit_tests", 264 "//components/cryptauth:unit_tests",
266 "//components/feedback:unit_tests", 265 "//components/feedback:unit_tests",
267 "//components/proximity_auth:unit_tests", 266 "//components/proximity_auth:unit_tests",
268 "//components/storage_monitor:unit_tests", 267 "//components/storage_monitor:unit_tests",
269 "//components/web_modal:unit_tests", 268 "//components/web_modal:unit_tests",
270 ] 269 ]
271 } 270 }
272 271
273 if (enable_rlz_support) { 272 if (enable_rlz_support) {
274 deps += [ "//components/rlz:unit_tests" ] 273 deps += [ "//components/rlz:unit_tests" ]
275 } 274 }
276 275
277 if (is_chromeos) { 276 if (is_chromeos) {
278 deps += [ 277 deps += [
279 "//components/arc:unit_tests", 278 "//components/arc:unit_tests",
280 "//components/ownership:unit_tests", 279 "//components/ownership:unit_tests",
281 "//components/pairing:unit_tests", 280 "//components/pairing:unit_tests",
282 "//components/sync_wifi:unit_tests", 281 "//components/sync_wifi:unit_tests",
283 "//components/timers:unit_tests", 282 "//components/timers:unit_tests",
284 "//components/user_manager:unit_tests", 283 "//components/user_manager:unit_tests",
285 ] 284 ]
286 } 285 }
287 286
288 if (enable_configuration_policy) {
289 deps += [
290 "//components/policy/core/browser:unit_tests",
291 "//components/policy/core/common:unit_tests",
292 ]
293 }
294
295 if (toolkit_views) { 287 if (toolkit_views) {
296 deps += [ "//components/constrained_window:unit_tests" ] 288 deps += [ "//components/constrained_window:unit_tests" ]
297 } 289 }
298 290
299 if (is_win) { 291 if (is_win) {
300 deps += [ "//components/browser_watcher:unit_tests" ] 292 deps += [ "//components/browser_watcher:unit_tests" ]
301 } 293 }
302 294
303 if (enable_basic_printing || enable_print_preview) { 295 if (enable_basic_printing || enable_print_preview) {
304 deps += [ 296 deps += [
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 "//testing/perf", 498 "//testing/perf",
507 "//url", 499 "//url",
508 ] 500 ]
509 501
510 if (!is_ios) { 502 if (!is_ios) {
511 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per ftest.cc" ] 503 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per ftest.cc" ]
512 deps += [ "//components/discardable_memory/common" ] 504 deps += [ "//components/discardable_memory/common" ]
513 } 505 }
514 } 506 }
515 } 507 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | components/policy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698