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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 } | 510 } |
511 | 511 |
512 if (is_ios || is_win || (is_linux && !is_chromeos)) { | 512 if (is_ios || is_win || (is_linux && !is_chromeos)) { |
513 deps += [ | 513 deps += [ |
514 "//base:base_i18n_perftests", | 514 "//base:base_i18n_perftests", |
515 "//base:base_perftests", | 515 "//base:base_perftests", |
516 "//google_apis:google_apis_unittests", | 516 "//google_apis:google_apis_unittests", |
517 ] | 517 ] |
518 } | 518 } |
519 | 519 |
520 if ((is_win || is_mac || is_linux) && | |
521 (target_cpu == "x86" || target_cpu == "x64")) { | |
522 deps += [ "//third_party/swiftshader" ] | |
523 } | |
524 | |
525 # TODO(GYP): Figure out which of these should (and can) build | 520 # TODO(GYP): Figure out which of these should (and can) build |
526 # for chromeos/ios. | 521 # for chromeos/ios. |
527 if (!is_chromeos && !is_ios) { | 522 if (!is_chromeos && !is_ios) { |
528 deps += [ | 523 deps += [ |
529 "//base:build_utf8_validator_tables", | 524 "//base:build_utf8_validator_tables", |
530 "//base:check_example", | 525 "//base:check_example", |
531 "//cc:cc_perftests", | 526 "//cc:cc_perftests", |
532 "//cc/blink:cc_blink_unittests", | 527 "//cc/blink:cc_blink_unittests", |
533 "//components:components_perftests", | 528 "//components:components_perftests", |
534 "//components/sync:run_sync_testserver", | 529 "//components/sync:run_sync_testserver", |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 assert(target_name != "") # Mark as used. | 1106 assert(target_name != "") # Mark as used. |
1112 sources = invoker.actual_sources | 1107 sources = invoker.actual_sources |
1113 assert( | 1108 assert( |
1114 sources == invoker.actual_sources, | 1109 sources == invoker.actual_sources, |
1115 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1110 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1116 } | 1111 } |
1117 | 1112 |
1118 assert_valid_out_dir("_unused") { | 1113 assert_valid_out_dir("_unused") { |
1119 actual_sources = [ "$root_build_dir/foo" ] | 1114 actual_sources = [ "$root_build_dir/foo" ] |
1120 } | 1115 } |
OLD | NEW |