| 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 } | 518 } |
| 519 | 519 |
| 520 if (is_ios || is_win || (is_linux && !is_chromeos)) { | 520 if (is_ios || is_win || (is_linux && !is_chromeos)) { |
| 521 deps += [ | 521 deps += [ |
| 522 "//base:base_i18n_perftests", | 522 "//base:base_i18n_perftests", |
| 523 "//base:base_perftests", | 523 "//base:base_perftests", |
| 524 "//google_apis:google_apis_unittests", | 524 "//google_apis:google_apis_unittests", |
| 525 ] | 525 ] |
| 526 } | 526 } |
| 527 | 527 |
| 528 if (is_win || is_mac || is_linux) { | 528 if (is_win || is_mac) { |
| 529 deps += [ "//third_party/swiftshader" ] | 529 deps += [ "//third_party/swiftshader" ] |
| 530 } | 530 } |
| 531 | 531 |
| 532 # TODO(GYP): Figure out which of these should (and can) build | 532 # TODO(GYP): Figure out which of these should (and can) build |
| 533 # for chromeos/ios. | 533 # for chromeos/ios. |
| 534 if (!is_chromeos && !is_ios) { | 534 if (!is_chromeos && !is_ios) { |
| 535 deps += [ | 535 deps += [ |
| 536 "//base:build_utf8_validator_tables", | 536 "//base:build_utf8_validator_tables", |
| 537 "//base:check_example", | 537 "//base:check_example", |
| 538 "//cc:cc_perftests", | 538 "//cc:cc_perftests", |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 assert(target_name != "") # Mark as used. | 1100 assert(target_name != "") # Mark as used. |
| 1101 sources = invoker.actual_sources | 1101 sources = invoker.actual_sources |
| 1102 assert( | 1102 assert( |
| 1103 sources == invoker.actual_sources, | 1103 sources == invoker.actual_sources, |
| 1104 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1104 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1105 } | 1105 } |
| 1106 | 1106 |
| 1107 assert_valid_out_dir("_unused") { | 1107 assert_valid_out_dir("_unused") { |
| 1108 actual_sources = [ "$root_build_dir/foo" ] | 1108 actual_sources = [ "$root_build_dir/foo" ] |
| 1109 } | 1109 } |
| OLD | NEW |