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

Side by Side Diff: BUILD.gn

Issue 2558043004: Remove enable_configuration_policy build define. (Closed)
Patch Set: 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 | « no previous file | android_webview/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 } 279 }
280 280
281 if (!is_ios) { 281 if (!is_ios) {
282 # TODO(GYP): Figure out which of these should actually build on iOS, 282 # TODO(GYP): Figure out which of these should actually build on iOS,
283 # and whether there should be other targets that are iOS-only and missing. 283 # and whether there should be other targets that are iOS-only and missing.
284 deps += [ 284 deps += [
285 "//cc:cc_unittests", 285 "//cc:cc_unittests",
286 "//chrome/test:telemetry_perf_unittests", 286 "//chrome/test:telemetry_perf_unittests",
287 "//chrome/test:unit_tests", 287 "//chrome/test:unit_tests",
288 "//components:components_browsertests", 288 "//components:components_browsertests",
289 "//components/policy:policy_templates",
289 "//content/shell:content_shell", 290 "//content/shell:content_shell",
290 "//content/test:content_browsertests", 291 "//content/test:content_browsertests",
291 "//content/test:content_perftests", 292 "//content/test:content_perftests",
292 "//content/test:content_unittests", 293 "//content/test:content_unittests",
293 "//device:device_unittests", 294 "//device:device_unittests",
294 "//gpu:gpu_unittests", 295 "//gpu:gpu_unittests",
295 "//gpu/ipc/service:gpu_ipc_service_unittests", 296 "//gpu/ipc/service:gpu_ipc_service_unittests",
296 "//ipc:ipc_tests", 297 "//ipc:ipc_tests",
297 "//media:media_unittests", 298 "//media:media_unittests",
298 "//media/capture:capture_unittests", 299 "//media/capture:capture_unittests",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 "//ui/ozone", 377 "//ui/ozone",
377 "//ui/ozone:ozone_unittests", 378 "//ui/ozone:ozone_unittests",
378 "//ui/ozone/gl:ozone_gl_unittests", 379 "//ui/ozone/gl:ozone_gl_unittests",
379 ] 380 ]
380 } 381 }
381 382
382 if (use_x11 || ozone_platform_x11) { 383 if (use_x11 || ozone_platform_x11) {
383 deps += [ "//tools/xdisplaycheck" ] 384 deps += [ "//tools/xdisplaycheck" ]
384 } 385 }
385 386
386 if (enable_configuration_policy) {
387 deps += [ "//components/policy:policy_templates" ]
388 }
389
390 if (v8_use_external_startup_data) { 387 if (v8_use_external_startup_data) {
391 deps += [ "//gin:gin_v8_snapshot_fingerprint" ] 388 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
392 } 389 }
393 390
394 if (is_win) { 391 if (is_win) {
395 deps += [ 392 deps += [
396 "//chrome/installer/gcapi", 393 "//chrome/installer/gcapi",
397 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", 394 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
398 ] 395 ]
399 } 396 }
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 assert(target_name != "") # Mark as used. 1091 assert(target_name != "") # Mark as used.
1095 sources = invoker.actual_sources 1092 sources = invoker.actual_sources
1096 assert( 1093 assert(
1097 sources == invoker.actual_sources, 1094 sources == invoker.actual_sources,
1098 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1095 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1099 } 1096 }
1100 1097
1101 assert_valid_out_dir("_unused") { 1098 assert_valid_out_dir("_unused") {
1102 actual_sources = [ "$root_build_dir/foo" ] 1099 actual_sources = [ "$root_build_dir/foo" ]
1103 } 1100 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698