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

Side by Side Diff: build/all.gyp

Issue 139743016: android: Fold all_android.gyp into all.gyp. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/all_android.gyp » ('j') | build/android/envsetup_functions.sh » ('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': {
7 # A hook that can be overridden in other repositories to add additional
8 # compilation targets to 'All'. Only used on Android.
9 'android_app_targets%': [],
10 },
6 'targets': [ 11 'targets': [
7 { 12 {
8 'target_name': 'All', 13 'target_name': 'All',
9 'type': 'none', 14 'type': 'none',
10 'xcode_create_dependents_test_runner': 1, 15 'xcode_create_dependents_test_runner': 1,
11 'dependencies': [ 16 'dependencies': [
12 'some.gyp:*', 17 'some.gyp:*',
13 '../base/base.gyp:*', 18 '../base/base.gyp:*',
14 '../chrome/chrome.gyp:*',
15 '../components/components.gyp:*', 19 '../components/components.gyp:*',
16 '../components/components_tests.gyp:*', 20 '../components/components_tests.gyp:*',
17 '../content/content.gyp:*', 21 '../content/content.gyp:*',
18 '../content/content_shell_and_tests.gyp:*',
19 '../crypto/crypto.gyp:*', 22 '../crypto/crypto.gyp:*',
20 '../net/net.gyp:*', 23 '../net/net.gyp:*',
21 '../sdch/sdch.gyp:*', 24 '../sdch/sdch.gyp:*',
22 '../sql/sql.gyp:*', 25 '../sql/sql.gyp:*',
23 '../sync/sync.gyp:*',
24 '../testing/gmock.gyp:*', 26 '../testing/gmock.gyp:*',
25 '../testing/gtest.gyp:*', 27 '../testing/gtest.gyp:*',
26 '../third_party/icu/icu.gyp:*', 28 '../third_party/icu/icu.gyp:*',
27 '../third_party/libxml/libxml.gyp:*', 29 '../third_party/libxml/libxml.gyp:*',
28 '../third_party/sqlite/sqlite.gyp:*', 30 '../third_party/sqlite/sqlite.gyp:*',
29 '../third_party/zlib/zlib.gyp:*', 31 '../third_party/zlib/zlib.gyp:*',
30 '../ui/accessibility/accessibility.gyp:*', 32 '../ui/accessibility/accessibility.gyp:*',
31 '../ui/snapshot/snapshot.gyp:*', 33 '../ui/snapshot/snapshot.gyp:*',
32 '../ui/ui.gyp:*', 34 '../ui/ui.gyp:*',
33 '../url/url.gyp:*', 35 '../url/url.gyp:*',
34 ], 36 ],
35 'conditions': [ 37 'conditions': [
36 ['OS!="ios"', { 38 ['OS=="ios"', {
39 'dependencies': [
40 '../ios/ios.gyp:*',
41 '../ui/ui_unittests.gyp:ui_unittests',
Yaron 2014/01/23 22:41:28 Unrelated but this seems pretty bizarre. This is a
Nico 2014/01/23 23:09:24 Hm, it's strange that 'All' doesn't depend on chro
42 ],
43 }],
44 ['OS=="android"', {
45 'dependencies': [
46 '../content/content_shell_and_tests.gyp:content_shell_apk',
47 '../mojo/mojo.gyp:mojo_shell_apk',
48 '<@(android_app_targets)',
49 'android_builder_tests',
50 '../android_webview/android_webview.gyp:android_webview_apk',
51 '../chrome/chrome.gyp:chromium_testshell',
52 '../remoting/remoting.gyp:remoting_apk',
53 '../tools/telemetry/telemetry.gyp:*#host',
54 # TODO(nyquist) This should instead by a target for sync when all of
55 # the sync-related code for Android has been upstreamed.
56 # See http://crbug.com/159203
57 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid ation_javalib',
58 ],
59 }, {
60 'dependencies': [
61 '../content/content_shell_and_tests.gyp:*',
62 # TODO: This should build on Android and the target should move to t he list above.
63 '../sync/sync.gyp:*',
64 ],
65 }],
66 ['OS!="ios" and OS!="android"', {
37 'dependencies': [ 67 'dependencies': [
38 '../third_party/re2/re2.gyp:re2', 68 '../third_party/re2/re2.gyp:re2',
69 '../chrome/chrome.gyp:*',
39 '../cc/cc_tests.gyp:*', 70 '../cc/cc_tests.gyp:*',
40 '../device/bluetooth/bluetooth.gyp:*', 71 '../device/bluetooth/bluetooth.gyp:*',
41 '../device/device_tests.gyp:*', 72 '../device/device_tests.gyp:*',
42 '../device/usb/usb.gyp:*', 73 '../device/usb/usb.gyp:*',
43 '../gin/gin.gyp:*', 74 '../gin/gin.gyp:*',
44 '../gpu/gpu.gyp:*', 75 '../gpu/gpu.gyp:*',
45 '../gpu/tools/tools.gyp:*', 76 '../gpu/tools/tools.gyp:*',
46 '../ipc/ipc.gyp:*', 77 '../ipc/ipc.gyp:*',
47 '../jingle/jingle.gyp:*', 78 '../jingle/jingle.gyp:*',
48 '../media/cast/cast.gyp:*', 79 '../media/cast/cast.gyp:*',
(...skipping 19 matching lines...) Expand all
68 '../third_party/ots/ots.gyp:*', 99 '../third_party/ots/ots.gyp:*',
69 '../third_party/qcms/qcms.gyp:*', 100 '../third_party/qcms/qcms.gyp:*',
70 '../tools/gn/gn.gyp:*', 101 '../tools/gn/gn.gyp:*',
71 '../tools/perf/clear_system_cache/clear_system_cache.gyp:*', 102 '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
72 '../tools/telemetry/telemetry.gyp:*', 103 '../tools/telemetry/telemetry.gyp:*',
73 '../v8/tools/gyp/v8.gyp:*', 104 '../v8/tools/gyp/v8.gyp:*',
74 '../webkit/glue/webkit_glue.gyp:*', 105 '../webkit/glue/webkit_glue.gyp:*',
75 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gy p:*', 106 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gy p:*',
76 '<(libjpeg_gyp_path):*', 107 '<(libjpeg_gyp_path):*',
77 ], 108 ],
78 }, { # 'OS=="ios"'
79 'dependencies': [
80 '../ios/ios.gyp:*',
81 '../ui/ui_unittests.gyp:ui_unittests',
82 ],
83 }], 109 }],
84 ['OS!="android" and OS!="ios"', { 110 ['OS!="android" and OS!="ios"', {
85 'dependencies': [ 111 'dependencies': [
86 '../chrome/tools/profile_reset/jtl_compiler.gyp:*', 112 '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
87 ], 113 ],
88 }], 114 }],
89 ['os_posix==1 and OS!="android" and OS!="ios"', { 115 ['os_posix==1 and OS!="android" and OS!="ios"', {
90 'dependencies': [ 116 'dependencies': [
91 '../third_party/yasm/yasm.gyp:*#host', 117 '../third_party/yasm/yasm.gyp:*#host',
92 ], 118 ],
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 'type': 'none', 241 'type': 'none',
216 'conditions': [ 242 'conditions': [
217 ['OS=="win" and fastbuild==0 and target_arch=="ia32"', { 243 ['OS=="win" and fastbuild==0 and target_arch=="ia32"', {
218 'dependencies': [ 244 'dependencies': [
219 '../chrome/installer/mini_installer_syzygy.gyp:*', 245 '../chrome/installer/mini_installer_syzygy.gyp:*',
220 ], 246 ],
221 }], 247 }],
222 ], 248 ],
223 }, # target_name: All_syzygy 249 }, # target_name: All_syzygy
224 { 250 {
251 # Note: Android uses android_builder_tests below.
252 # TODO: Consider merging that with this target.
225 'target_name': 'chromium_builder_tests', 253 'target_name': 'chromium_builder_tests',
226 'type': 'none', 254 'type': 'none',
227 'dependencies': [ 255 'dependencies': [
228 '../base/base.gyp:base_unittests', 256 '../base/base.gyp:base_unittests',
229 '../components/components_tests.gyp:components_unittests', 257 '../components/components_tests.gyp:components_unittests',
230 '../crypto/crypto.gyp:crypto_unittests', 258 '../crypto/crypto.gyp:crypto_unittests',
231 '../net/net.gyp:net_unittests', 259 '../net/net.gyp:net_unittests',
232 '../sql/sql.gyp:sql_unittests', 260 '../sql/sql.gyp:sql_unittests',
233 '../sync/sync.gyp:sync_unit_tests', 261 '../sync/sync.gyp:sync_unit_tests',
234 '../ui/ui_unittests.gyp:ui_unittests', 262 '../ui/ui_unittests.gyp:ui_unittests',
235 '../url/url.gyp:url_unittests', 263 '../url/url.gyp:url_unittests',
236 ], 264 ],
237 'conditions': [ 265 'conditions': [
238 ['OS!="ios"', { 266 ['OS!="ios" and OS!="android"', {
239 'dependencies': [ 267 'dependencies': [
240 '../cc/cc_tests.gyp:cc_unittests', 268 '../cc/cc_tests.gyp:cc_unittests',
241 '../chrome/chrome.gyp:browser_tests', 269 '../chrome/chrome.gyp:browser_tests',
242 '../chrome/chrome.gyp:chromedriver_tests', 270 '../chrome/chrome.gyp:chromedriver_tests',
243 '../chrome/chrome.gyp:chromedriver_unittests', 271 '../chrome/chrome.gyp:chromedriver_unittests',
244 # TODO(kkania): Remove these after infra no longer depends on them. 272 # TODO(kkania): Remove these after infra no longer depends on them.
245 '../chrome/chrome.gyp:chromedriver2_unittests', 273 '../chrome/chrome.gyp:chromedriver2_unittests',
246 '../chrome/chrome.gyp:interactive_ui_tests', 274 '../chrome/chrome.gyp:interactive_ui_tests',
247 '../chrome/chrome.gyp:sync_integration_tests', 275 '../chrome/chrome.gyp:sync_integration_tests',
248 '../chrome/chrome.gyp:unit_tests', 276 '../chrome/chrome.gyp:unit_tests',
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 }, # target_name: chromium_2010_builder_tests 405 }, # target_name: chromium_2010_builder_tests
378 ], 406 ],
379 'conditions': [ 407 'conditions': [
380 ['OS!="ios"', { 408 ['OS!="ios"', {
381 'targets': [ 409 'targets': [
382 { 410 {
383 'target_name': 'blink_tests', 411 'target_name': 'blink_tests',
384 'type': 'none', 412 'type': 'none',
385 'dependencies': [ 413 'dependencies': [
386 '../third_party/WebKit/public/all.gyp:all_blink', 414 '../third_party/WebKit/public/all.gyp:all_blink',
387 '../content/content_shell_and_tests.gyp:content_shell',
388 ], 415 ],
389 'conditions': [ 416 'conditions': [
417 ['OS=="android"', {
418 'dependencies': [
419 '../content/content_shell_and_tests.gyp:content_shell_apk',
420 '../breakpad/breakpad.gyp:dump_syms#host',
421 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
422 ],
423 }, { # OS!="android"
424 'dependencies': [
425 '../content/content_shell_and_tests.gyp:content_shell',
426 ],
427 }],
390 ['OS=="win"', { 428 ['OS=="win"', {
391 'dependencies': [ 429 'dependencies': [
392 '../content/content_shell_and_tests.gyp:content_shell_crash_serv ice', 430 '../content/content_shell_and_tests.gyp:content_shell_crash_serv ice',
393 '../content/content_shell_and_tests.gyp:layout_test_helper', 431 '../content/content_shell_and_tests.gyp:layout_test_helper',
394 ], 432 ],
395 }, { # OS!="win" 433 }],
434 ['OS!="win" and OS!="android"', {
396 'dependencies': [ 435 'dependencies': [
397 '../breakpad/breakpad.gyp:minidump_stackwalk', 436 '../breakpad/breakpad.gyp:minidump_stackwalk',
398 ], 437 ],
399 }], 438 }],
400 ['OS=="mac"', { 439 ['OS=="mac"', {
401 'dependencies': [ 440 'dependencies': [
402 '../breakpad/breakpad.gyp:dump_syms#host', 441 '../breakpad/breakpad.gyp:dump_syms#host',
403 '../content/content_shell_and_tests.gyp:layout_test_helper', 442 '../content/content_shell_and_tests.gyp:layout_test_helper',
404 ], 443 ],
405 }], 444 }],
406 ['OS=="linux"', { 445 ['OS=="linux"', {
407 'dependencies': [ 446 'dependencies': [
408 '../breakpad/breakpad.gyp:dump_syms', 447 '../breakpad/breakpad.gyp:dump_syms',
409 ], 448 ],
410 }], 449 }],
411 ], 450 ],
412 }, # target_name: blink_tests 451 }, # target_name: blink_tests
413 { 452 {
414 # TODO(jochen): Eventually remove this target after everybody and 453 # TODO(jochen): Eventually remove this target after everybody and
415 # the bots started to use blink_tests only. 454 # the bots started to use blink_tests only.
416 'target_name': 'all_webkit', 455 'target_name': 'all_webkit',
417 'type': 'none', 456 'type': 'none',
418 'dependencies': [ 457 'dependencies': [
419 'blink_tests', 458 'blink_tests',
420 ], 459 ],
421 }, # target_name: all_webkit 460 }, # target_name: all_webkit
461 ],
462 }], # OS!=ios
463 ['OS!="ios" and OS!="android"', {
464 'targets': [
422 { 465 {
423 'target_name': 'chromium_builder_nacl_win_integration', 466 'target_name': 'chromium_builder_nacl_win_integration',
424 'type': 'none', 467 'type': 'none',
425 'dependencies': [ 468 'dependencies': [
426 'chromium_builder_qa', # needed for pyauto 469 'chromium_builder_qa', # needed for pyauto
427 'chromium_builder_tests', 470 'chromium_builder_tests',
428 ], 471 ],
429 }, # target_name: chromium_builder_nacl_win_integration 472 }, # target_name: chromium_builder_nacl_win_integration
430 { 473 {
431 'target_name': 'chromium_builder_perf', 474 'target_name': 'chromium_builder_perf',
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 ['chrome_multiple_dll==1', { 681 ['chrome_multiple_dll==1', {
639 'dependencies': [ 682 'dependencies': [
640 '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy', 683 '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
641 ], 684 ],
642 }], 685 }],
643 ], 686 ],
644 }], 687 }],
645 ], 688 ],
646 }, 689 },
647 ], # targets 690 ], # targets
648 }], 691 }], #OS!=ios and OS!=android
692 ['OS=="android"', {
693 'targets': [
694 {
695 # The current list of tests for android. This is temporary
696 # until the full set supported. If adding a new test here,
697 # please also add it to build/android/pylib/gtest/gtest_config.py,
698 # else the test is not run.
699 #
700 # WARNING:
701 # Do not add targets here without communicating the implications
702 # on tryserver triggers and load. Discuss with jrg please.
Yaron 2014/01/23 22:41:28 s/jrg/chrome-infrastructure-team
Nico 2014/01/23 23:09:24 Done.
703 'target_name': 'android_builder_tests',
Yaron 2014/01/23 22:41:28 A gclient grep for android_builder_tests doesn't t
Nico 2014/01/23 23:09:24 Nice! Will look into doing this in a follow-up.
Nico 2014/01/24 19:32:33 Did look into this. Since android uses GYP_GENERAT
704 'type': 'none',
705 'dependencies': [
706 '../android_webview/android_webview.gyp:android_webview_unittests',
707 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests ',
708 '../base/base.gyp:base_unittests',
709 '../breakpad/breakpad.gyp:breakpad_unittests',
710 # Also compile the tools needed to deal with minidumps, they are
711 # needed to run minidump tests upstream.
712 '../breakpad/breakpad.gyp:dump_syms#host',
713 '../breakpad/breakpad.gyp:symupload#host',
714 '../breakpad/breakpad.gyp:minidump_dump#host',
715 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
716 '../build/android/tests/multiple_proguards/multiple_proguards.gyp:mu ltiple_proguards_test_apk',
717 '../cc/cc_tests.gyp:cc_perftests_apk',
718 '../cc/cc_tests.gyp:cc_unittests',
719 '../chrome/chrome.gyp:unit_tests',
720 '../components/components_tests.gyp:components_unittests',
721 '../content/content_shell_and_tests.gyp:content_browsertests',
722 '../content/content_shell_and_tests.gyp:content_gl_tests',
723 '../content/content_shell_and_tests.gyp:content_shell_test_apk',
724 '../content/content_shell_and_tests.gyp:content_unittests',
725 '../gpu/gpu.gyp:gl_tests',
726 '../gpu/gpu.gyp:gpu_unittests',
727 '../ipc/ipc.gyp:ipc_tests',
728 '../media/media.gyp:media_perftests_apk',
729 '../media/media.gyp:media_unittests',
730 '../net/net.gyp:net_unittests',
731 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
732 '../sql/sql.gyp:sql_unittests',
733 '../sync/sync.gyp:sync_unit_tests',
734 '../third_party/WebKit/public/all.gyp:*',
735 '../tools/android/android_tools.gyp:android_tools',
736 '../tools/android/android_tools.gyp:memconsumer',
737 '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugi n_test',
738 '../ui/ui_unittests.gyp:ui_unittests',
739 # Required by ui_unittests.
740 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
741 # this would cause circular gyp dependency which needs refactoring t he
742 # gyps to resolve.
743 '../chrome/chrome_resources.gyp:packed_resources',
744 ],
745 'conditions': [
746 ['"<(gtest_target_type)"=="shared_library"', {
747 'dependencies': [
748 # Unit test bundles packaged as an apk.
749 '../android_webview/android_webview.gyp:android_webview_unittest s_apk',
750 '../base/base.gyp:base_unittests_apk',
751 '../cc/cc_tests.gyp:cc_unittests_apk',
752 '../chrome/chrome.gyp:unit_tests_apk',
753 '../components/components_tests.gyp:components_unittests_apk',
754 '../content/content_shell_and_tests.gyp:content_browsertests_apk ',
755 '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
756 '../content/content_shell_and_tests.gyp:content_unittests_apk',
757 '../content/content_shell_and_tests.gyp:video_decode_accelerator _unittest_apk',
758 '../gpu/gpu.gyp:gl_tests_apk',
759 '../gpu/gpu.gyp:gpu_unittests_apk',
760 '../ipc/ipc.gyp:ipc_tests_apk',
761 '../media/media.gyp:media_unittests_apk',
762 '../net/net.gyp:net_unittests_apk',
763 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
764 '../sql/sql.gyp:sql_unittests_apk',
765 '../sync/sync.gyp:sync_unit_tests_apk',
766 '../ui/ui_unittests.gyp:ui_unittests_apk',
767 '../android_webview/android_webview.gyp:android_webview_test_apk ',
768 '../chrome/chrome.gyp:chromium_testshell_test_apk',
769 '../chrome/chrome.gyp:chromium_testshell_uiautomator_tests',
770 '../webkit/renderer/compositor_bindings/compositor_bindings_test s.gyp:webkit_compositor_bindings_unittests_apk'
771 ],
772 }],
773 ],
774 },
775 {
776 # WebRTC Android APK tests.
777 'target_name': 'android_builder_webrtc',
778 'type': 'none',
779 'variables': {
780 # Set default value for include_tests to '0'. It is normally only
781 # used in WebRTC GYP files. It is set to '1' only when building
782 # WebRTC for Android, inside a Chromium checkout.
783 'include_tests%': 0,
784 },
785 'conditions': [
786 ['"<(gtest_target_type)"=="shared_library" and include_tests==1', {
787 'dependencies': [
788 '../third_party/webrtc/build/apk_tests.gyp:*',
789 ],
790 }],
791 ],
792 }, # target_name: android_builder_webrtc
793 {
794 # WebRTC Chromium tests to run on Android.
795 'target_name': 'android_builder_chromium_webrtc',
796 'type': 'none',
797 'dependencies': [
798 '../content/content_shell_and_tests.gyp:content_browsertests',
799 '../tools/android/android_tools.gyp:android_tools',
800 '../tools/android/android_tools.gyp:memconsumer',
801 ],
802 'conditions': [
803 ['"<(gtest_target_type)"=="shared_library"', {
804 'dependencies': [
805 # Unit test bundles packaged as an apk.
806 '../content/content_shell_and_tests.gyp:content_browsertests_apk ',
807 ],
808 }],
809 ],
810 }, # target_name: android_builder_chromium_webrtc
811 {
812 # Build the java portions of the binary size analysis tool.
813 'target_name': 'binary_size_tool',
814 'type': 'none',
815 'dependencies': [
816 '../tools/binary_size/binary_size.gyp:binary_size_java',
817 ],
818 },
819 ], # targets
820 }], # OS="android"
649 ['OS=="mac"', { 821 ['OS=="mac"', {
650 'targets': [ 822 'targets': [
651 { 823 {
652 # Target to build everything plus the dmg. We don't put the dmg 824 # Target to build everything plus the dmg. We don't put the dmg
653 # in the All target because developers really don't need it. 825 # in the All target because developers really don't need it.
654 'target_name': 'all_and_dmg', 826 'target_name': 'all_and_dmg',
655 'type': 'none', 827 'type': 'none',
656 'dependencies': [ 828 'dependencies': [
657 'All', 829 'All',
658 '../chrome/chrome.gyp:build_app_dmg', 830 '../chrome/chrome.gyp:build_app_dmg',
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 '../chrome/chrome.gyp:interactive_ui_tests_run', 1197 '../chrome/chrome.gyp:interactive_ui_tests_run',
1026 '../chrome/chrome.gyp:sync_integration_tests_run', 1198 '../chrome/chrome.gyp:sync_integration_tests_run',
1027 '../chrome/chrome.gyp:unit_tests_run', 1199 '../chrome/chrome.gyp:unit_tests_run',
1028 '../net/net.gyp:net_unittests_run', 1200 '../net/net.gyp:net_unittests_run',
1029 ], 1201 ],
1030 }, # target_name: chromium_swarm_tests 1202 }, # target_name: chromium_swarm_tests
1031 ], 1203 ],
1032 }], 1204 }],
1033 ], # conditions 1205 ], # conditions
1034 } 1206 }
OLDNEW
« no previous file with comments | « no previous file | build/all_android.gyp » ('j') | build/android/envsetup_functions.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698