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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 } | 337 } |
338 | 338 |
339 if (use_x11) { | 339 if (use_x11) { |
340 deps += [ "//tools/xdisplaycheck" ] | 340 deps += [ "//tools/xdisplaycheck" ] |
341 } | 341 } |
342 | 342 |
343 if (enable_configuration_policy) { | 343 if (enable_configuration_policy) { |
344 deps += [ "//components/policy:policy_templates" ] | 344 deps += [ "//components/policy:policy_templates" ] |
345 } | 345 } |
346 | 346 |
| 347 if (v8_use_external_startup_data) { |
| 348 deps += [ "//gin:gin_v8_snapshot_fingerprint" ] |
| 349 } |
| 350 |
347 if (is_win) { | 351 if (is_win) { |
348 deps += [ | 352 deps += [ |
349 "//chrome/installer/gcapi", | 353 "//chrome/installer/gcapi", |
350 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", | 354 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", |
351 ] | 355 ] |
352 } | 356 } |
353 | 357 |
354 if (is_android) { | 358 if (is_android) { |
355 deps += [ | 359 deps += [ |
356 "//base:base_junit_tests", | 360 "//base:base_junit_tests", |
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 assert(target_name != "") # Mark as used. | 1044 assert(target_name != "") # Mark as used. |
1041 sources = invoker.actual_sources | 1045 sources = invoker.actual_sources |
1042 assert( | 1046 assert( |
1043 sources == invoker.actual_sources, | 1047 sources == invoker.actual_sources, |
1044 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1048 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1045 } | 1049 } |
1046 | 1050 |
1047 assert_valid_out_dir("_unused") { | 1051 assert_valid_out_dir("_unused") { |
1048 actual_sources = [ "$root_build_dir/foo" ] | 1052 actual_sources = [ "$root_build_dir/foo" ] |
1049 } | 1053 } |
OLD | NEW |