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