| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 deps = [ | 76 deps = [ |
| 77 ":gn_visibility", | 77 ":gn_visibility", |
| 78 "//base:base_unittests", | 78 "//base:base_unittests", |
| 79 "//chrome/installer", | 79 "//chrome/installer", |
| 80 "//components:components_unittests", | 80 "//components:components_unittests", |
| 81 "//net:net_unittests", | 81 "//net:net_unittests", |
| 82 "//skia:skia_unittests", | 82 "//skia:skia_unittests", |
| 83 "//sql:sql_unittests", | 83 "//sql:sql_unittests", |
| 84 "//tools/ipc_fuzzer:ipc_fuzzer_all", | 84 "//tools/ipc_fuzzer:ipc_fuzzer_all", |
| 85 "//tools/metrics:metrics_metadata", |
| 85 "//ui/base:ui_base_unittests", | 86 "//ui/base:ui_base_unittests", |
| 86 "//ui/gfx:gfx_unittests", | 87 "//ui/gfx:gfx_unittests", |
| 87 "//url:url_unittests", | 88 "//url:url_unittests", |
| 88 ] | 89 ] |
| 89 | 90 |
| 90 if (!is_android && !is_chromecast) { | 91 if (!is_android && !is_chromecast) { |
| 91 deps += [ | 92 deps += [ |
| 92 "//crypto:crypto_unittests", | 93 "//crypto:crypto_unittests", |
| 93 "//google_apis/gcm:gcm_unit_tests", | 94 "//google_apis/gcm:gcm_unit_tests", |
| 94 ] | 95 ] |
| (...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 assert(target_name != "") # Mark as used. | 1094 assert(target_name != "") # Mark as used. |
| 1094 sources = invoker.actual_sources | 1095 sources = invoker.actual_sources |
| 1095 assert( | 1096 assert( |
| 1096 sources == invoker.actual_sources, | 1097 sources == invoker.actual_sources, |
| 1097 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1098 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1098 } | 1099 } |
| 1099 | 1100 |
| 1100 assert_valid_out_dir("_unused") { | 1101 assert_valid_out_dir("_unused") { |
| 1101 actual_sources = [ "$root_build_dir/foo" ] | 1102 actual_sources = [ "$root_build_dir/foo" ] |
| 1102 } | 1103 } |
| OLD | NEW |