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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 ] | 402 ] |
403 } | 403 } |
404 | 404 |
405 if (is_android || is_win || (is_linux && !is_chromeos)) { | 405 if (is_android || is_win || (is_linux && !is_chromeos)) { |
406 deps += [ | 406 deps += [ |
407 "//base:build_utf8_validator_tables", | 407 "//base:build_utf8_validator_tables", |
408 "//base:check_example", | 408 "//base:check_example", |
409 "//cc:cc_perftests", | 409 "//cc:cc_perftests", |
410 "//cc/blink:cc_blink_unittests", | 410 "//cc/blink:cc_blink_unittests", |
411 "//components:components_perftests", | 411 "//components:components_perftests", |
412 "//components/display_compositor:display_compositor_unittests", | 412 "//content/test:content_gl_benchmark", |
413 "//content/test:content_gl_tests", | 413 "//content/test:content_gl_tests", |
414 "//device:device_unittests", | 414 "//device:device_unittests", |
415 "//gin:gin_shell", | 415 "//gin:gin_shell", |
416 "//gin:gin_unittests", | 416 "//gin:gin_unittests", |
417 "//google_apis/gcm:mcs_probe", | 417 "//google_apis/gcm:mcs_probe", |
418 "//gpu:gl_tests", | 418 "//gpu:gl_tests", |
419 "//gpu:gpu_perftests", | 419 "//gpu:gpu_perftests", |
420 "//ipc:ipc_perftests", | 420 "//ipc:ipc_perftests", |
421 "//media:media_perftests", | 421 "//media:media_perftests", |
422 "//net:dump_cache", | 422 "//net:dump_cache", |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 assert(target_name != "") # Mark as used. | 910 assert(target_name != "") # Mark as used. |
911 sources = invoker.actual_sources | 911 sources = invoker.actual_sources |
912 assert( | 912 assert( |
913 sources == invoker.actual_sources, | 913 sources == invoker.actual_sources, |
914 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 914 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
915 } | 915 } |
916 | 916 |
917 assert_valid_out_dir("_unused") { | 917 assert_valid_out_dir("_unused") { |
918 actual_sources = [ "$root_build_dir/foo" ] | 918 actual_sources = [ "$root_build_dir/foo" ] |
919 } | 919 } |
OLD | NEW |