Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: BUILD.gn

Issue 1861233003: Prepare for building with enable_app_list=0 on Desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for r392580 - app_list_shower_views_unittest deleted by that rev Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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) {
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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 "//ui/message_center:message_center_unittests", 546 "//ui/message_center:message_center_unittests",
537 "//ui/snapshot:snapshot_unittests", 547 "//ui/snapshot:snapshot_unittests",
538 "//ui/views/examples:views_examples_with_content_exe", 548 "//ui/views/examples:views_examples_with_content_exe",
539 ] 549 ]
540 550
541 if (!is_debug && !is_component_build) { 551 if (!is_debug && !is_component_build) {
542 deps += [ "//chrome/tools/service_discovery_sniffer" ] 552 deps += [ "//chrome/tools/service_discovery_sniffer" ]
543 } 553 }
544 } 554 }
545 555
546 if (toolkit_views) { 556 if (enable_app_list) {
547 deps += [ "//ui/app_list:app_list_demo" ] 557 deps += [ "//ui/app_list:app_list_demo" ]
548 } 558 }
549 559
550 if (use_x11) { 560 if (use_x11) {
551 if (target_cpu != "arm") { 561 if (target_cpu != "arm") {
552 deps += [ "//gpu/tools/compositor_model_bench" ] 562 deps += [ "//gpu/tools/compositor_model_bench" ]
553 } 563 }
554 } 564 }
555 } 565 }
556 566
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 assert(target_name != "") # Mark as used. 957 assert(target_name != "") # Mark as used.
948 sources = invoker.actual_sources 958 sources = invoker.actual_sources
949 assert( 959 assert(
950 sources == invoker.actual_sources, 960 sources == invoker.actual_sources,
951 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 961 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
952 } 962 }
953 963
954 assert_valid_out_dir("_unused") { 964 assert_valid_out_dir("_unused") {
955 actual_sources = [ "$root_build_dir/foo" ] 965 actual_sources = [ "$root_build_dir/foo" ]
956 } 966 }
OLDNEW
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698