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

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: retry 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 (use_cros_fe) {
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 (use_cros_fe || 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 (use_cros_fe || 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 && !use_cros_fe)) {
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 && !use_cros_fe)) {
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 && !use_cros_fe) {
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 deps = [] 603 deps = []
604 604
605 if (!is_ios) { 605 if (!is_ios) {
606 deps += [ "//mandoline:all" ] 606 deps += [ "//mandoline:all" ]
607 } 607 }
608 608
609 if (!is_android && !is_ios) { 609 if (!is_android && !is_ios) {
610 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] 610 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
611 } 611 }
612 612
613 if (is_linux && !is_chromeos) { 613 if (is_linux && !use_cros_fe) {
614 # TODO(GYP): Figure out if any of these should be in gn_all 614 # TODO(GYP): Figure out if any of these should be in gn_all
615 # and figure out how cross-platform they are 615 # and figure out how cross-platform they are
616 deps += [ 616 deps += [
617 ":gn_mojo_targets", 617 ":gn_mojo_targets",
618 "//chrome/browser/resources:extension_resource_demo", 618 "//chrome/browser/resources:extension_resource_demo",
619 "//chrome/installer/util:strings", 619 "//chrome/installer/util:strings",
620 "//chrome:main_dll", 620 "//chrome:main_dll",
621 "//chrome/test:load_library_perf_tests", 621 "//chrome/test:load_library_perf_tests",
622 "//chrome/tools/convert_dict", 622 "//chrome/tools/convert_dict",
623 "//components/constrained_window:unit_tests", 623 "//components/constrained_window:unit_tests",
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 } 698 }
699 } 699 }
700 700
701 if (is_mac) { 701 if (is_mac) {
702 deps -= [ "//mandoline:all" ] # TODO(GYP) 702 deps -= [ "//mandoline:all" ] # TODO(GYP)
703 } 703 }
704 } 704 }
705 705
706 group("gn_mojo_targets") { 706 group("gn_mojo_targets") {
707 testonly = true 707 testonly = true
708 if (is_linux && !is_chromeos) { 708 if (is_linux && !use_cros_fe) {
709 # TODO(GYP): Figure out if any of these should be in gn_all 709 # TODO(GYP): Figure out if any of these should be in gn_all
710 # and figure out how cross-platform they are 710 # and figure out how cross-platform they are
711 deps = [ 711 deps = [
712 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python", 712 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
713 "//content/public/common:mojo_bindings_python", 713 "//content/public/common:mojo_bindings_python",
714 "//content/common:mojo_bindings_python", 714 "//content/common:mojo_bindings_python",
715 "//content/test:web_ui_test_mojo_bindings_python", 715 "//content/test:web_ui_test_mojo_bindings_python",
716 "//device/battery:mojo_bindings_python", 716 "//device/battery:mojo_bindings_python",
717 "//device/vibration:mojo_bindings_python", 717 "//device/vibration:mojo_bindings_python",
718 "//ipc/mojo:ipc_mojo_perftests", 718 "//ipc/mojo:ipc_mojo_perftests",
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 "//ui/views:views_unittests", # TooltipControllerTest failures 930 "//ui/views:views_unittests", # TooltipControllerTest failures
931 "//ui/wm:wm_unittests", # PASSES 4/21/2015 931 "//ui/wm:wm_unittests", # PASSES 4/21/2015
932 "//url:url_unittests", # PASSES 4/17/2015 932 "//url:url_unittests", # PASSES 4/17/2015
933 933
934 # TODO(GYP) nacl_integration 934 # TODO(GYP) nacl_integration
935 # TODO(GYP) telemetry_perf_unittests 935 # TODO(GYP) telemetry_perf_unittests
936 # TODO(GYP) telemetry_unittests 936 # TODO(GYP) telemetry_unittests
937 ] 937 ]
938 } 938 }
939 } 939 }
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