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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
183 "//printing:printing_unittests", | 183 "//printing:printing_unittests", |
184 "//third_party/cacheinvalidation:cacheinvalidation_unittests", | 184 "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
185 "//third_party/codesighs", | 185 "//third_party/codesighs", |
186 "//third_party/pdfium/samples:pdfium_test", | 186 "//third_party/pdfium/samples:pdfium_test", |
187 "//tools/battor_agent", | 187 "//tools/battor_agent", |
188 "//tools/battor_agent:battor_agent_unittests", | 188 "//tools/battor_agent:battor_agent_unittests", |
189 "//tools/gn", | 189 "//tools/gn", |
190 "//tools/gn:gn_unittests", | 190 "//tools/gn:gn_unittests", |
191 "//tools/perf/clear_system_cache", | 191 "//tools/perf/clear_system_cache", |
192 "//ui/accessibility:accessibility_unittests", | 192 "//ui/accessibility:accessibility_unittests", |
193 "//ui/app_list:app_list_unittests", | |
194 ] | 193 ] |
195 } | 194 } |
196 | 195 |
197 if (!is_ios) { | 196 if (!is_ios) { |
198 # TODO(GYP): Figure out which of these should actually build on iOS, | 197 # TODO(GYP): Figure out which of these should actually build on iOS, |
199 # and whether there should be other targets that are iOS-only and missing. | 198 # and whether there should be other targets that are iOS-only and missing. |
200 deps += [ | 199 deps += [ |
201 "//cc:cc_unittests", | 200 "//cc:cc_unittests", |
202 "//chrome/test:unit_tests", | 201 "//chrome/test:unit_tests", |
203 "//components:components_browsertests", | 202 "//components:components_browsertests", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
261 } | 260 } |
262 | 261 |
263 if (enable_remoting) { | 262 if (enable_remoting) { |
264 deps += [ "//remoting:remoting_all" ] | 263 deps += [ "//remoting:remoting_all" ] |
265 } | 264 } |
266 | 265 |
267 if (toolkit_views) { | 266 if (toolkit_views) { |
268 deps += [ "//ui/views:views_unittests" ] | 267 deps += [ "//ui/views:views_unittests" ] |
269 } | 268 } |
270 | 269 |
270 if (enable_app_list && !is_chromecast) { | |
Devlin
2016/05/05 16:01:36
What's the link between app list and chromecast?
Dirk Pranke
2016/05/05 17:13:26
It seems unlikely to me that cast actually wants o
tapted
2016/05/06 02:36:56
Done.
| |
271 deps += [ "//ui/app_list:app_list_unittests" ] | |
272 } | |
273 | |
274 if (enable_app_list && use_aura) { | |
275 deps += [ | |
276 # TODO(tapted): Move this into enable_app_list when enable_app_list is not | |
277 # true on Mac. | |
278 "//ui/app_list/presenter:app_list_presenter_unittests", | |
279 ] | |
280 } | |
281 | |
271 if (use_aura) { | 282 if (use_aura) { |
272 deps += [ | 283 deps += [ |
273 "//ash:ash_shell_with_content", | 284 "//ash:ash_shell_with_content", |
274 "//ash:ash_unittests", | 285 "//ash:ash_unittests", |
275 "//ui/app_list/presenter:app_list_presenter_unittests", | |
276 "//ui/aura:aura_unittests", | 286 "//ui/aura:aura_unittests", |
277 "//ui/aura:demo", | 287 "//ui/aura:demo", |
278 "//ui/wm:wm_unittests", | 288 "//ui/wm:wm_unittests", |
279 ] | 289 ] |
280 } | 290 } |
281 | 291 |
282 if (use_ozone) { | 292 if (use_ozone) { |
283 deps += [ "//ui/ozone" ] | 293 deps += [ "//ui/ozone" ] |
284 } | 294 } |
285 | 295 |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
541 "//ui/message_center:message_center_unittests", | 551 "//ui/message_center:message_center_unittests", |
542 "//ui/snapshot:snapshot_unittests", | 552 "//ui/snapshot:snapshot_unittests", |
543 "//ui/views/examples:views_examples_with_content_exe", | 553 "//ui/views/examples:views_examples_with_content_exe", |
544 ] | 554 ] |
545 | 555 |
546 if (!is_debug && !is_component_build) { | 556 if (!is_debug && !is_component_build) { |
547 deps += [ "//chrome/tools/service_discovery_sniffer" ] | 557 deps += [ "//chrome/tools/service_discovery_sniffer" ] |
548 } | 558 } |
549 } | 559 } |
550 | 560 |
551 if (toolkit_views) { | 561 if (toolkit_views && enable_app_list) { |
552 deps += [ "//ui/app_list:app_list_demo" ] | 562 deps += [ "//ui/app_list:app_list_demo" ] |
553 } | 563 } |
554 | 564 |
555 if (use_x11) { | 565 if (use_x11) { |
556 if (target_cpu != "arm") { | 566 if (target_cpu != "arm") { |
557 deps += [ "//gpu/tools/compositor_model_bench" ] | 567 deps += [ "//gpu/tools/compositor_model_bench" ] |
558 } | 568 } |
559 } | 569 } |
560 } | 570 } |
561 | 571 |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
951 assert(target_name != "") # Mark as used. | 961 assert(target_name != "") # Mark as used. |
952 sources = invoker.actual_sources | 962 sources = invoker.actual_sources |
953 assert( | 963 assert( |
954 sources == invoker.actual_sources, | 964 sources == invoker.actual_sources, |
955 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 965 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
956 } | 966 } |
957 | 967 |
958 assert_valid_out_dir("_unused") { | 968 assert_valid_out_dir("_unused") { |
959 actual_sources = [ "$root_build_dir/foo" ] | 969 actual_sources = [ "$root_build_dir/foo" ] |
960 } | 970 } |
OLD | NEW |