| OLD | NEW |
| 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 } | 280 } |
| 281 | 281 |
| 282 if (!is_ios) { | 282 if (!is_ios) { |
| 283 # TODO(GYP): Figure out which of these should actually build on iOS, | 283 # TODO(GYP): Figure out which of these should actually build on iOS, |
| 284 # and whether there should be other targets that are iOS-only and missing. | 284 # and whether there should be other targets that are iOS-only and missing. |
| 285 deps += [ | 285 deps += [ |
| 286 "//cc:cc_unittests", | 286 "//cc:cc_unittests", |
| 287 "//chrome/test:telemetry_perf_unittests", | 287 "//chrome/test:telemetry_perf_unittests", |
| 288 "//chrome/test:unit_tests", | 288 "//chrome/test:unit_tests", |
| 289 "//components:components_browsertests", | 289 "//components:components_browsertests", |
| 290 "//components/policy:policy_templates", |
| 290 "//content/shell:content_shell", | 291 "//content/shell:content_shell", |
| 291 "//content/test:content_browsertests", | 292 "//content/test:content_browsertests", |
| 292 "//content/test:content_perftests", | 293 "//content/test:content_perftests", |
| 293 "//content/test:content_unittests", | 294 "//content/test:content_unittests", |
| 294 "//device:device_unittests", | 295 "//device:device_unittests", |
| 295 "//gpu:gpu_unittests", | 296 "//gpu:gpu_unittests", |
| 296 "//gpu/ipc/service:gpu_ipc_service_unittests", | 297 "//gpu/ipc/service:gpu_ipc_service_unittests", |
| 297 "//ipc:ipc_tests", | 298 "//ipc:ipc_tests", |
| 298 "//media:media_unittests", | 299 "//media:media_unittests", |
| 299 "//media/capture:capture_unittests", | 300 "//media/capture:capture_unittests", |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 "//ui/ozone", | 378 "//ui/ozone", |
| 378 "//ui/ozone:ozone_unittests", | 379 "//ui/ozone:ozone_unittests", |
| 379 "//ui/ozone/gl:ozone_gl_unittests", | 380 "//ui/ozone/gl:ozone_gl_unittests", |
| 380 ] | 381 ] |
| 381 } | 382 } |
| 382 | 383 |
| 383 if (use_x11 || ozone_platform_x11) { | 384 if (use_x11 || ozone_platform_x11) { |
| 384 deps += [ "//tools/xdisplaycheck" ] | 385 deps += [ "//tools/xdisplaycheck" ] |
| 385 } | 386 } |
| 386 | 387 |
| 387 if (enable_configuration_policy) { | |
| 388 deps += [ "//components/policy:policy_templates" ] | |
| 389 } | |
| 390 | |
| 391 if (v8_use_external_startup_data) { | 388 if (v8_use_external_startup_data) { |
| 392 deps += [ "//gin:gin_v8_snapshot_fingerprint" ] | 389 deps += [ "//gin:gin_v8_snapshot_fingerprint" ] |
| 393 } | 390 } |
| 394 | 391 |
| 395 if (is_win) { | 392 if (is_win) { |
| 396 deps += [ | 393 deps += [ |
| 397 "//chrome/installer/gcapi", | 394 "//chrome/installer/gcapi", |
| 398 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", | 395 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", |
| 399 ] | 396 ] |
| 400 } | 397 } |
| (...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 assert(target_name != "") # Mark as used. | 1092 assert(target_name != "") # Mark as used. |
| 1096 sources = invoker.actual_sources | 1093 sources = invoker.actual_sources |
| 1097 assert( | 1094 assert( |
| 1098 sources == invoker.actual_sources, | 1095 sources == invoker.actual_sources, |
| 1099 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1096 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1100 } | 1097 } |
| 1101 | 1098 |
| 1102 assert_valid_out_dir("_unused") { | 1099 assert_valid_out_dir("_unused") { |
| 1103 actual_sources = [ "$root_build_dir/foo" ] | 1100 actual_sources = [ "$root_build_dir/foo" ] |
| 1104 } | 1101 } |
| OLD | NEW |