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

Side by Side Diff: build/all.gyp

Issue 962343002: Rework how the gn migration targets are included from all.gyp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cleanup
Patch Set: merge to #318587 Created 5 years, 9 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/gn_migration.gypi » ('j') | build/gn_migration.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 # A hook that can be overridden in other repositories to add additional 7 # A hook that can be overridden in other repositories to add additional
8 # compilation targets to 'All'. 8 # compilation targets to 'All'.
9 'app_targets%': [], 9 'app_targets%': [],
10 # For Android-specific targets. 10 # For Android-specific targets.
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 '../mojo/mojo_nacl_untrusted.gyp:libmojo', 460 '../mojo/mojo_nacl_untrusted.gyp:libmojo',
461 '../mojo/mojo_nacl.gyp:monacl_codegen', 461 '../mojo/mojo_nacl.gyp:monacl_codegen',
462 '../mojo/mojo_nacl.gyp:monacl_sel', 462 '../mojo/mojo_nacl.gyp:monacl_sel',
463 '../mojo/mojo_nacl.gyp:monacl_shell', 463 '../mojo/mojo_nacl.gyp:monacl_shell',
464 ], 464 ],
465 }], 465 }],
466 ], 466 ],
467 }, # target_name: chromium_builder_tests 467 }, # target_name: chromium_builder_tests
468 ], 468 ],
469 'conditions': [ 469 'conditions': [
470 # TODO(GYP): make gn_migration.gypi work unconditionally.
471 ['OS=="linux" and chromeos==0', {
gunsch 2015/03/02 00:33:52 Alternately, you could put "chromecast==0" here an
472 'includes': [
473 'gn_migration.gypi',
474 ],
475 }],
470 ['OS!="ios"', { 476 ['OS!="ios"', {
471 'targets': [ 477 'targets': [
472 { 478 {
473 'target_name': 'blink_tests', 479 'target_name': 'blink_tests',
474 'type': 'none', 480 'type': 'none',
475 'dependencies': [ 481 'dependencies': [
476 '../third_party/WebKit/public/all.gyp:all_blink', 482 '../third_party/WebKit/public/all.gyp:all_blink',
477 ], 483 ],
478 'conditions': [ 484 'conditions': [
479 ['OS=="android"', { 485 ['OS=="android"', {
(...skipping 29 matching lines...) Expand all
509 '../breakpad/breakpad.gyp:dump_syms', 515 '../breakpad/breakpad.gyp:dump_syms',
510 ], 516 ],
511 }], 517 }],
512 ], 518 ],
513 }, # target_name: blink_tests 519 }, # target_name: blink_tests
514 ], 520 ],
515 }], # OS!=ios 521 }], # OS!=ios
516 ['OS!="ios" and OS!="android"', { 522 ['OS!="ios" and OS!="android"', {
517 'targets': [ 523 'targets': [
518 { 524 {
519 # TODO(GYP) - make gyp_all and gn_all work on iOS and Android also.
520 'target_name': 'gyp_all',
521 'type': 'none',
522 'dependencies': [
523 ':gn_all',
524 '../chrome/chrome.gyp:chromedriver_unittests',
525 '../components/components_tests.gyp:components_browsertests',
526 # '../components/nacl.gyp:nacl_loader_unittests', # TODO(GYP)
527 # '../remoting/remoting.gyp:remoting_unittests', # TODO(GYP)
528 '../ui/compositor/compositor.gyp:compositor_unittests',
529 ],
530 'conditions': [
531 ['OS!="android"', {
532 'dependencies': [
533 # '../device/device_tests.gyp:device_unittests', # TODO(GYP)
534 # '../google_apis/google_apis.gyp:google_apis_unittests', # TOD O(GYP)
535 ],
536 }],
537 ],
538 },
539 {
540 'target_name': 'gn_all',
541 'type': 'none',
542
543 'dependencies': [
544 '../base/base.gyp:base_unittests',
545 '../cc/cc_tests.gyp:cc_unittests',
546 '../chrome/chrome.gyp:chrome',
547 '../chrome/chrome.gyp:browser_tests',
548 '../chrome/chrome.gyp:interactive_ui_tests',
549 '../chrome/chrome.gyp:sync_integration_tests',
550 '../chrome/chrome.gyp:unit_tests',
551 '../components/components_tests.gyp:components_unittests',
552 '../content/content_shell_and_tests.gyp:content_shell',
553 '../content/content_shell_and_tests.gyp:content_browsertests',
554 '../content/content_shell_and_tests.gyp:content_perftests',
555 '../content/content_shell_and_tests.gyp:content_unittests',
556 '../crypto/crypto.gyp:crypto_unittests',
557 '../extensions/extensions_tests.gyp:extensions_browsertests',
558 '../extensions/extensions_tests.gyp:extensions_unittests',
559 '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
560 '../gpu/gpu.gyp:gpu_unittests',
561 '../ipc/ipc.gyp:ipc_tests',
562 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
563 '../jingle/jingle.gyp:jingle_unittests',
564 '../media/media.gyp:media_unittests',
565 '../media/cast/cast.gyp:cast_unittests',
566 '../mojo/mojo.gyp:mojo',
567 '../mojo/mojo_base.gyp:mojo_common_unittests',
568 '../net/net.gyp:net_unittests',
569 '../ppapi/ppapi_internal.gyp:ppapi_tests',
570 '../printing/printing.gyp:printing_unittests',
571 '../sql/sql.gyp:sql_unittests',
572 '../skia/skia_tests.gyp:skia_unittests',
573 '../sync/sync.gyp:sync_unit_tests',
574
575 # TODO(GYP): the Blink test targets should be public, but
576 # currently aren't. all_blink puls them in, though
577 # "//third_party/WebKit/Source/platform:heap_unittests",
578 # "//third_party/WebKit/Source/platform:platform_unittests",
579 # "//third_party/WebKit/Source/wtf:wtf_unittests",
580 '../third_party/WebKit/public/all.gyp:all_blink',
581
582 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid ation_unittests',
583
584 # TODO(GYP): Needed only w/ cld_version==1. What configs set that?
585 '../third_party/cld/cld.gyp:cld',
586
587 # TODO(GYP): This is needed only w/ use_system_fontconfig==0. What c onfigs set that?
588 #'../third_party/fontconfig/fontconfig.gyp:fontconfig',
589
590 # TODO(GYP): This will be pulled in automatically when enable_webrtc ==true.
591 # For now pull it in manually so that it doesn't regress.
592 '../third_party/libsrtp/libsrtp.gyp:libsrtp',
593
594 '../third_party/mojo/mojo_edk_tests.gyp:mojo_system_unittests',
595 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittes ts',
596 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unit tests',
597 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_perftests ',
598 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_unittests ',
599 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_utility_unittest s',
600 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
601
602 # TODO(GYP): Verify that this is no longer needed.
603 '../third_party/smhasher/smhasher.gyp:pmurhash',
604
605 # TODO(GYP): This will be pulled in automatically when enable_webrtc ==true.
606 # For now pull it in manually so that it doesn't regress.
607 '../third_party/usrsctp/usrsctp.gyp:usrsctplib',
608
609 '../tools/gn/gn.gyp:gn',
610 '../tools/gn/gn.gyp:gn_unittests',
611 '../ui/accessibility/accessibility.gyp:accessibility_unittests',
612 '../ui/app_list/app_list.gyp:app_list_unittests',
613 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
614 '../ui/display/display.gyp:display_unittests',
615 '../ui/events/events.gyp:events_unittests',
616 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
617 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_uni ttests',
618 '../url/url.gyp:url_unittests',
619 ],
620 'conditions': [
621 ['OS!="win"', {
622 'dependencies': [
623 '../breakpad/breakpad.gyp:symupload',
624 ],
625 }],
626 ['use_x11==1', {
627 'dependencies': [
628 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
629 ],
630 }],
631 ['toolkit_views==1', {
632 'dependencies': [
633 '../ui/views/views.gyp:views_unittests',
634 ],
635 }],
636 ['use_aura==1', {
637 'dependencies': [
638 '../ui/wm/wm.gyp:wm_unittests',
639 ],
640 }],
641 ['use_ozone==1', {
642 'dependencies': [
643 '../ui/ozone/ozone.gyp:ozone',
644 ],
645 }],
646 ['OS=="win" or OS=="mac" or OS=="android"', {
647 'dependencies': [
648 '../rlz/rlz.gyp:rlz_lib',
649 ],
650 }],
651 ['OS=="android"', {
652 'dependencies': [
653 '../chrome/chrome.gyp:chrome_shell_apk',
654 '../content/content_shell_and_tests.gyp:content_shell_apk',
655 ],
656 'dependencies!': [
657 '../url/url.gyp:url_unittests',
658 ],
659 }],
660 ['OS=="linux"', {
661 'dependencies': [
662 '../dbus/dbus.gyp:dbus_unittests',
663 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
664 ],
665 }],
666 ],
667 },
668 {
669 'target_name': 'chromium_builder_nacl_win_integration', 525 'target_name': 'chromium_builder_nacl_win_integration',
670 'type': 'none', 526 'type': 'none',
671 'dependencies': [ 527 'dependencies': [
672 'chromium_builder_tests', 528 'chromium_builder_tests',
673 ], 529 ],
674 }, # target_name: chromium_builder_nacl_win_integration 530 }, # target_name: chromium_builder_nacl_win_integration
675 { 531 {
676 'target_name': 'chromium_builder_perf', 532 'target_name': 'chromium_builder_perf',
677 'type': 'none', 533 'type': 'none',
678 'dependencies': [ 534 'dependencies': [
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 'dependencies': [ 1329 'dependencies': [
1474 '../ui/views/examples/examples.gyp:views_examples_with_content_exe', 1330 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1475 '../ui/views/views.gyp:views', 1331 '../ui/views/views.gyp:views',
1476 '../ui/views/views.gyp:views_unittests', 1332 '../ui/views/views.gyp:views_unittests',
1477 ], 1333 ],
1478 }, # target_name: macviews_builder 1334 }, # target_name: macviews_builder
1479 ], # targets 1335 ], # targets
1480 }], # os=='mac' and toolkit_views==1 1336 }], # os=='mac' and toolkit_views==1
1481 ], # conditions 1337 ], # conditions
1482 } 1338 }
OLDNEW
« no previous file with comments | « no previous file | build/gn_migration.gypi » ('j') | build/gn_migration.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698