| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 # over, we can collapse all of these targets as desired. | 64 # over, we can collapse all of these targets as desired. |
| 65 | 65 |
| 66 group("gn_all") { | 66 group("gn_all") { |
| 67 testonly = true | 67 testonly = true |
| 68 | 68 |
| 69 deps = [ | 69 deps = [ |
| 70 ":gn_visibility", | 70 ":gn_visibility", |
| 71 "//base:base_unittests", | 71 "//base:base_unittests", |
| 72 "//chrome/installer", | 72 "//chrome/installer", |
| 73 "//net:net_unittests", | 73 "//net:net_unittests", |
| 74 "//net/tools/ct_mapper", |
| 74 "//sql:sql_unittests", | 75 "//sql:sql_unittests", |
| 75 "//tools/ipc_fuzzer:ipc_fuzzer_all", | 76 "//tools/ipc_fuzzer:ipc_fuzzer_all", |
| 76 "//url:url_unittests", | 77 "//url:url_unittests", |
| 77 ] | 78 ] |
| 78 | 79 |
| 79 if (!is_android && !is_chromecast) { | 80 if (!is_android && !is_chromecast) { |
| 80 deps += [ | 81 deps += [ |
| 81 "//crypto:crypto_unittests", | 82 "//crypto:crypto_unittests", |
| 82 "//google_apis/gcm:gcm_unit_tests", | 83 "//google_apis/gcm:gcm_unit_tests", |
| 83 ] | 84 ] |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1057 assert(target_name != "") # Mark as used. | 1058 assert(target_name != "") # Mark as used. |
| 1058 sources = invoker.actual_sources | 1059 sources = invoker.actual_sources |
| 1059 assert( | 1060 assert( |
| 1060 sources == invoker.actual_sources, | 1061 sources == invoker.actual_sources, |
| 1061 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1062 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1062 } | 1063 } |
| 1063 | 1064 |
| 1064 assert_valid_out_dir("_unused") { | 1065 assert_valid_out_dir("_unused") { |
| 1065 actual_sources = [ "$root_build_dir/foo" ] | 1066 actual_sources = [ "$root_build_dir/foo" ] |
| 1066 } | 1067 } |
| OLD | NEW |