| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 } | 123 } |
| 124 | 124 |
| 125 group("chrome_official_builder") { | 125 group("chrome_official_builder") { |
| 126 testonly = true | 126 testonly = true |
| 127 | 127 |
| 128 deps = [ | 128 deps = [ |
| 129 ":chrome_official_builder_no_unittests", | 129 ":chrome_official_builder_no_unittests", |
| 130 "//base:base_unittests", | 130 "//base:base_unittests", |
| 131 "//chrome/test:browser_tests", | 131 "//chrome/test:browser_tests", |
| 132 "//chrome/test:sync_integration_tests", | 132 "//chrome/test:sync_integration_tests", |
| 133 "//components/sync:sync_unit_tests", |
| 133 "//ipc:ipc_tests", | 134 "//ipc:ipc_tests", |
| 134 "//media:media_unittests", | 135 "//media:media_unittests", |
| 135 "//media/midi:midi_unittests", | 136 "//media/midi:midi_unittests", |
| 136 "//net:net_unittests", | 137 "//net:net_unittests", |
| 137 "//printing:printing_unittests", | 138 "//printing:printing_unittests", |
| 138 "//sql:sql_unittests", | 139 "//sql:sql_unittests", |
| 139 "//ui/base:ui_base_unittests", | 140 "//ui/base:ui_base_unittests", |
| 140 "//ui/gfx:gfx_unittests", | 141 "//ui/gfx:gfx_unittests", |
| 141 "//ui/touch_selection:ui_touch_selection_unittests", | 142 "//ui/touch_selection:ui_touch_selection_unittests", |
| 142 "//ui/views:views_unittests", | 143 "//ui/views:views_unittests", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 178 |
| 178 # The "both_gn_and_gyp" target should reflect every target that is built | 179 # The "both_gn_and_gyp" target should reflect every target that is built |
| 179 # in both the GN and GYP builds, and ideally it should match the | 180 # in both the GN and GYP builds, and ideally it should match the |
| 180 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. | 181 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. |
| 181 group("both_gn_and_gyp") { | 182 group("both_gn_and_gyp") { |
| 182 testonly = true | 183 testonly = true |
| 183 deps = [ | 184 deps = [ |
| 184 "//base:base_unittests", | 185 "//base:base_unittests", |
| 185 "//chrome/installer", | 186 "//chrome/installer", |
| 186 "//components:components_unittests", | 187 "//components:components_unittests", |
| 188 "//components/sync:sync_unit_tests", |
| 187 "//net:net_unittests", | 189 "//net:net_unittests", |
| 188 "//skia:skia_unittests", | 190 "//skia:skia_unittests", |
| 189 "//sql:sql_unittests", | 191 "//sql:sql_unittests", |
| 190 "//tools/ipc_fuzzer:ipc_fuzzer_all", | 192 "//tools/ipc_fuzzer:ipc_fuzzer_all", |
| 191 "//ui/base:ui_base_unittests", | 193 "//ui/base:ui_base_unittests", |
| 192 "//ui/gfx:gfx_unittests", | 194 "//ui/gfx:gfx_unittests", |
| 193 "//url:url_unittests", | 195 "//url:url_unittests", |
| 194 ] | 196 ] |
| 195 | 197 |
| 196 if (!is_android && !is_chromecast) { | 198 if (!is_android && !is_chromecast) { |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 assert(target_name != "") # Mark as used. | 1050 assert(target_name != "") # Mark as used. |
| 1049 sources = invoker.actual_sources | 1051 sources = invoker.actual_sources |
| 1050 assert( | 1052 assert( |
| 1051 sources == invoker.actual_sources, | 1053 sources == invoker.actual_sources, |
| 1052 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1054 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1053 } | 1055 } |
| 1054 | 1056 |
| 1055 assert_valid_out_dir("_unused") { | 1057 assert_valid_out_dir("_unused") { |
| 1056 actual_sources = [ "$root_build_dir/foo" ] | 1058 actual_sources = [ "$root_build_dir/foo" ] |
| 1057 } | 1059 } |
| OLD | NEW |