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

Side by Side Diff: BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | apps/BUILD.gn » ('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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 309 }
310 } 310 }
311 311
312 if (is_linux) { # TODO(GYP): || is_android || is_bsd? 312 if (is_linux) { # TODO(GYP): || is_android || is_bsd?
313 deps += [ 313 deps += [
314 "//breakpad:core-2-minidump", 314 "//breakpad:core-2-minidump",
315 "//breakpad:minidump-2-core", 315 "//breakpad:minidump-2-core",
316 ] 316 ]
317 } 317 }
318 318
319 if (is_chromeos) { 319 if (is_chromeos_ui) {
320 deps += [ 320 deps += [
321 "//chromeos:chromeos_unittests", 321 "//chromeos:chromeos_unittests",
322 "//ui/chromeos:ui_chromeos_unittests", 322 "//ui/chromeos:ui_chromeos_unittests",
323 ] 323 ]
324 } 324 }
325 325
326 if (is_chromeos || is_mac || is_win) { 326 if (is_chromeos_ui || is_mac || is_win) {
327 deps += [ 327 deps += [
328 "//rlz:rlz_id", 328 "//rlz:rlz_id",
329 "//rlz:rlz_lib", 329 "//rlz:rlz_lib",
330 "//rlz:rlz_unittests", 330 "//rlz:rlz_unittests",
331 ] 331 ]
332 } 332 }
333 333
334 if (is_linux) { 334 if (is_linux) {
335 # The following are definitely linux-only. 335 # The following are definitely linux-only.
336 deps += [ 336 deps += [
337 "//breakpad:breakpad_unittests", 337 "//breakpad:breakpad_unittests",
338 "//breakpad:generate_test_dump", 338 "//breakpad:generate_test_dump",
339 "//dbus:dbus_test_server", 339 "//dbus:dbus_test_server",
340 "//dbus:dbus_unittests", 340 "//dbus:dbus_unittests",
341 "//net:disk_cache_memory_test", 341 "//net:disk_cache_memory_test",
342 "//net:flip_in_mem_edsm_server", 342 "//net:flip_in_mem_edsm_server",
343 "//net:flip_in_mem_edsm_server_unittests", 343 "//net:flip_in_mem_edsm_server_unittests",
344 "//net:quic_client", 344 "//net:quic_client",
345 "//net:quic_server", 345 "//net:quic_server",
346 "//sandbox/linux:chrome_sandbox", 346 "//sandbox/linux:chrome_sandbox",
347 "//sandbox/linux:sandbox_linux_unittests", 347 "//sandbox/linux:sandbox_linux_unittests",
348 "//sandbox/linux:sandbox_linux_jni_unittests", 348 "//sandbox/linux:sandbox_linux_jni_unittests",
349 ] 349 ]
350 350
351 if (is_chromeos || use_ash) { 351 if (is_chromeos_ui || use_ash) {
352 deps += [ "//components/session_manager/core" ] 352 deps += [ "//components/session_manager/core" ]
353 } 353 }
354 } 354 }
355 355
356 if (is_ios || is_win || (is_linux && !is_chromeos)) { 356 if (is_ios || is_win || (is_linux && !is_chromeos_ui)) {
357 deps += [ 357 deps += [
358 "//base:base_i18n_perftests", 358 "//base:base_i18n_perftests",
359 "//base:base_perftests", 359 "//base:base_perftests",
360 ] 360 ]
361 } 361 }
362 362
363 if (is_win || (is_linux && !is_chromeos)) { 363 if (is_win || (is_linux && !is_chromeos_ui)) {
364 # TODO(GYP): Figure out which of these should (and can) build 364 # TODO(GYP): Figure out which of these should (and can) build
365 # for android/chromeos/mac/ios. 365 # for android/chromeos/mac/ios.
366 deps += [ 366 deps += [
367 "//base:check_example", 367 "//base:check_example",
368 "//base:build_utf8_validator_tables", 368 "//base:build_utf8_validator_tables",
369 "//cc:cc_perftests", 369 "//cc:cc_perftests",
370 "//cc/blink:cc_blink_unittests", 370 "//cc/blink:cc_blink_unittests",
371 "//chrome/test:load_library_perf_tests", 371 "//chrome/test:load_library_perf_tests",
372 "//chrome/test:performance_browser_tests", 372 "//chrome/test:performance_browser_tests",
373 "//chrome/test:sync_performance_tests", 373 "//chrome/test:sync_performance_tests",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 435
436 if (use_aura) { 436 if (use_aura) {
437 deps += [ 437 deps += [
438 "//ui/aura:aura_unittests", 438 "//ui/aura:aura_unittests",
439 "//ui/aura:bench", 439 "//ui/aura:bench",
440 "//ui/aura:demo", 440 "//ui/aura:demo",
441 ] 441 ]
442 } 442 }
443 } 443 }
444 444
445 if (is_linux && !is_chromeos) { 445 if (is_linux && !is_chromeos_ui) {
446 deps += [ 446 deps += [
447 # TODO(GYP): Figure out which of these should (and can) build 447 # TODO(GYP): Figure out which of these should (and can) build
448 # under which other conditions. 448 # under which other conditions.
449 "//build/sanitizers:copy_llvm_symbolizer", 449 "//build/sanitizers:copy_llvm_symbolizer",
450 "//chrome/test:chrome_app_unittests", 450 "//chrome/test:chrome_app_unittests",
451 "//cloud_print:cloud_print_unittests", 451 "//cloud_print:cloud_print_unittests",
452 "//components/network_hints/browser", 452 "//components/network_hints/browser",
453 "//content/public/app:browser", 453 "//content/public/app:browser",
454 "//content/public/app:child", 454 "//content/public/app:child",
455 455
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 deps = [] 606 deps = []
607 607
608 if (!is_ios) { 608 if (!is_ios) {
609 deps += [ "//mandoline:all" ] 609 deps += [ "//mandoline:all" ]
610 } 610 }
611 611
612 if (!is_android && !is_ios) { 612 if (!is_android && !is_ios) {
613 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] 613 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
614 } 614 }
615 615
616 if (is_linux && !is_chromeos) { 616 if (is_linux && !is_chromeos_ui) {
617 # TODO(GYP): Figure out if any of these should be in gn_all 617 # TODO(GYP): Figure out if any of these should be in gn_all
618 # and figure out how cross-platform they are 618 # and figure out how cross-platform they are
619 deps += [ 619 deps += [
620 ":gn_mojo_targets", 620 ":gn_mojo_targets",
621 "//chrome/browser/resources:extension_resource_demo", 621 "//chrome/browser/resources:extension_resource_demo",
622 "//chrome/installer/util:strings", 622 "//chrome/installer/util:strings",
623 "//chrome:main_dll", 623 "//chrome:main_dll",
624 "//chrome/test:load_library_perf_tests", 624 "//chrome/test:load_library_perf_tests",
625 "//chrome/tools/convert_dict", 625 "//chrome/tools/convert_dict",
626 "//components/constrained_window:unit_tests", 626 "//components/constrained_window:unit_tests",
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 } 701 }
702 } 702 }
703 703
704 if (is_mac) { 704 if (is_mac) {
705 deps -= [ "//mandoline:all" ] # TODO(GYP) 705 deps -= [ "//mandoline:all" ] # TODO(GYP)
706 } 706 }
707 } 707 }
708 708
709 group("gn_mojo_targets") { 709 group("gn_mojo_targets") {
710 testonly = true 710 testonly = true
711 if (is_linux && !is_chromeos) { 711 if (is_linux && !is_chromeos_ui) {
712 # TODO(GYP): Figure out if any of these should be in gn_all 712 # TODO(GYP): Figure out if any of these should be in gn_all
713 # and figure out how cross-platform they are 713 # and figure out how cross-platform they are
714 deps = [ 714 deps = [
715 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python", 715 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
716 "//content/public/common:mojo_bindings_python", 716 "//content/public/common:mojo_bindings_python",
717 "//content/common:mojo_bindings_python", 717 "//content/common:mojo_bindings_python",
718 "//content/test:web_ui_test_mojo_bindings_python", 718 "//content/test:web_ui_test_mojo_bindings_python",
719 "//device/battery:mojo_bindings_python", 719 "//device/battery:mojo_bindings_python",
720 "//device/vibration:mojo_bindings_python", 720 "//device/vibration:mojo_bindings_python",
721 "//ipc/mojo:ipc_mojo_perftests", 721 "//ipc/mojo:ipc_mojo_perftests",
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 "//ui/views:views_unittests", # TooltipControllerTest failures 933 "//ui/views:views_unittests", # TooltipControllerTest failures
934 "//ui/wm:wm_unittests", # PASSES 4/21/2015 934 "//ui/wm:wm_unittests", # PASSES 4/21/2015
935 "//url:url_unittests", # PASSES 4/17/2015 935 "//url:url_unittests", # PASSES 4/17/2015
936 936
937 # TODO(GYP) nacl_integration 937 # TODO(GYP) nacl_integration
938 # TODO(GYP) telemetry_perf_unittests 938 # TODO(GYP) telemetry_perf_unittests
939 # TODO(GYP) telemetry_unittests 939 # TODO(GYP) telemetry_unittests
940 ] 940 ]
941 } 941 }
942 } 942 }
OLDNEW
« no previous file with comments | « no previous file | apps/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698