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

Side by Side Diff: build/all.gyp

Issue 1059103003: Guards irrelevant targets for Cast Android build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | no next file » | 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) 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 '../third_party/mojo/mojo_public.gyp:mojo_system', 67 '../third_party/mojo/mojo_public.gyp:mojo_system',
68 '../ui/base/ui_base_tests.gyp:ui_base_unittests', 68 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
69 '../ui/gfx/gfx_tests.gyp:gfx_unittests', 69 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
70 ], 70 ],
71 }], 71 }],
72 ['OS=="android"', { 72 ['OS=="android"', {
73 'dependencies': [ 73 'dependencies': [
74 '../content/content_shell_and_tests.gyp:content_shell_apk', 74 '../content/content_shell_and_tests.gyp:content_shell_apk',
75 '<@(android_app_targets)', 75 '<@(android_app_targets)',
76 'android_builder_tests', 76 'android_builder_tests',
77 '../android_webview/android_webview.gyp:android_webview_apk',
78 '../android_webview/android_webview.gyp:system_webview_apk',
79 '../android_webview/android_webview_telemetry_shell.gyp:android_webv iew_telemetry_shell_apk',
80 '../chrome/chrome.gyp:chrome_shell_apk',
81 '../chrome/chrome.gyp:chrome_sync_shell_apk',
82 '../remoting/remoting.gyp:remoting_apk',
83 '../tools/telemetry/telemetry.gyp:*#host', 77 '../tools/telemetry/telemetry.gyp:*#host',
84 # TODO(nyquist) This should instead by a target for sync when all of 78 # TODO(nyquist) This should instead by a target for sync when all of
85 # the sync-related code for Android has been upstreamed. 79 # the sync-related code for Android has been upstreamed.
86 # See http://crbug.com/159203 80 # See http://crbug.com/159203
87 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid ation_javalib', 81 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid ation_javalib',
88 ], 82 ],
89 'conditions': [ 83 'conditions': [
84 ['chromecast==0', {
85 'dependencies': [
86 '../android_webview/android_webview.gyp:android_webview_apk',
87 '../android_webview/android_webview.gyp:system_webview_apk',
88 '../android_webview/android_webview_telemetry_shell.gyp:android_ webview_telemetry_shell_apk',
89 '../chrome/chrome.gyp:chrome_shell_apk',
90 '../chrome/chrome.gyp:chrome_sync_shell_apk',
91 '../remoting/remoting.gyp:remoting_apk',
92 ],
93 }],
90 ['target_arch == "arm" or target_arch == "arm64"', { 94 ['target_arch == "arm" or target_arch == "arm64"', {
91 'dependencies': [ 95 'dependencies': [
92 # The relocation packer only works on ARM or ARM64. 96 # The relocation packer only works on ARM or ARM64.
93 '../tools/relocation_packer/relocation_packer.gyp:relocation_pac ker_unittests#host', 97 '../tools/relocation_packer/relocation_packer.gyp:relocation_pac ker_unittests#host',
94 ], 98 ],
95 }], 99 }],
96 ], 100 ],
97 }, { 101 }, {
98 'dependencies': [ 102 'dependencies': [
99 '../content/content_shell_and_tests.gyp:*', 103 '../content/content_shell_and_tests.gyp:*',
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 # please also add it to build/android/pylib/gtest/gtest_config.py, 777 # please also add it to build/android/pylib/gtest/gtest_config.py,
774 # else the test is not run. 778 # else the test is not run.
775 # 779 #
776 # WARNING: 780 # WARNING:
777 # Do not add targets here without communicating the implications 781 # Do not add targets here without communicating the implications
778 # on tryserver triggers and load. Discuss with 782 # on tryserver triggers and load. Discuss with
779 # chrome-infrastructure-team please. 783 # chrome-infrastructure-team please.
780 'target_name': 'android_builder_tests', 784 'target_name': 'android_builder_tests',
781 'type': 'none', 785 'type': 'none',
782 'dependencies': [ 786 'dependencies': [
783 '../android_webview/android_webview.gyp:android_webview_unittests',
784 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests ', 787 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests ',
785 '../base/base.gyp:base_unittests', 788 '../base/base.gyp:base_unittests',
786 '../breakpad/breakpad.gyp:breakpad_unittests_deps', 789 '../breakpad/breakpad.gyp:breakpad_unittests_deps',
787 # Also compile the tools needed to deal with minidumps, they are 790 # Also compile the tools needed to deal with minidumps, they are
788 # needed to run minidump tests upstream. 791 # needed to run minidump tests upstream.
789 '../breakpad/breakpad.gyp:dump_syms#host', 792 '../breakpad/breakpad.gyp:dump_syms#host',
790 '../breakpad/breakpad.gyp:symupload#host', 793 '../breakpad/breakpad.gyp:symupload#host',
791 '../breakpad/breakpad.gyp:minidump_dump#host', 794 '../breakpad/breakpad.gyp:minidump_dump#host',
792 '../breakpad/breakpad.gyp:minidump_stackwalk#host', 795 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
793 '../build/android/tests/multiple_proguards/multiple_proguards.gyp:mu ltiple_proguards_test_apk', 796 '../build/android/tests/multiple_proguards/multiple_proguards.gyp:mu ltiple_proguards_test_apk',
794 '../build/android/pylib/device/commands/commands.gyp:chromium_comman ds', 797 '../build/android/pylib/device/commands/commands.gyp:chromium_comman ds',
795 '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests', 798 '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
796 '../cc/cc_tests.gyp:cc_perftests_apk', 799 '../cc/cc_tests.gyp:cc_perftests_apk',
797 '../cc/cc_tests.gyp:cc_unittests', 800 '../cc/cc_tests.gyp:cc_unittests',
798 '../chrome/chrome.gyp:unit_tests',
799 '../components/components_tests.gyp:components_unittests', 801 '../components/components_tests.gyp:components_unittests',
800 '../content/content_shell_and_tests.gyp:content_browsertests', 802 '../content/content_shell_and_tests.gyp:content_browsertests',
801 '../content/content_shell_and_tests.gyp:content_gl_tests', 803 '../content/content_shell_and_tests.gyp:content_gl_tests',
802 '../content/content_shell_and_tests.gyp:content_junit_tests', 804 '../content/content_shell_and_tests.gyp:content_junit_tests',
803 '../content/content_shell_and_tests.gyp:chromium_linker_test_apk', 805 '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
804 '../content/content_shell_and_tests.gyp:content_shell_test_apk', 806 '../content/content_shell_and_tests.gyp:content_shell_test_apk',
805 '../content/content_shell_and_tests.gyp:content_unittests', 807 '../content/content_shell_and_tests.gyp:content_unittests',
806 '../gpu/gpu.gyp:gl_tests', 808 '../gpu/gpu.gyp:gl_tests',
807 '../gpu/gpu.gyp:gpu_perftests_apk', 809 '../gpu/gpu.gyp:gpu_perftests_apk',
808 '../gpu/gpu.gyp:gpu_unittests', 810 '../gpu/gpu.gyp:gpu_unittests',
809 '../ipc/ipc.gyp:ipc_tests', 811 '../ipc/ipc.gyp:ipc_tests',
810 '../media/media.gyp:media_perftests_apk', 812 '../media/media.gyp:media_perftests_apk',
811 '../media/media.gyp:media_unittests', 813 '../media/media.gyp:media_unittests',
812 '../net/net.gyp:net_unittests', 814 '../net/net.gyp:net_unittests',
813 '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps', 815 '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
814 '../skia/skia_tests.gyp:skia_unittests', 816 '../skia/skia_tests.gyp:skia_unittests',
815 '../sql/sql.gyp:sql_unittests', 817 '../sql/sql.gyp:sql_unittests',
816 '../sync/sync.gyp:sync_unit_tests', 818 '../sync/sync.gyp:sync_unit_tests',
817 '../testing/android/junit/junit_test.gyp:junit_unit_tests', 819 '../testing/android/junit/junit_test.gyp:junit_unit_tests',
818 '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittes ts', 820 '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittes ts',
819 '../third_party/WebKit/public/all.gyp:*', 821 '../third_party/WebKit/public/all.gyp:*',
820 '../tools/android/android_tools.gyp:android_tools', 822 '../tools/android/android_tools.gyp:android_tools',
821 '../tools/android/android_tools.gyp:memconsumer', 823 '../tools/android/android_tools.gyp:memconsumer',
822 '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugi n_test', 824 '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugi n_test',
823 '../ui/android/ui_android.gyp:ui_android_unittests', 825 '../ui/android/ui_android.gyp:ui_android_unittests',
824 '../ui/base/ui_base_tests.gyp:ui_base_unittests', 826 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
825 '../ui/events/events.gyp:events_unittests', 827 '../ui/events/events.gyp:events_unittests',
826 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_uni ttests', 828 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_uni ttests',
827 # Unit test bundles packaged as an apk. 829 # Unit test bundles packaged as an apk.
828 '../android_webview/android_webview.gyp:android_webview_test_apk',
829 '../android_webview/android_webview.gyp:android_webview_unittests_ap k',
830 '../base/base.gyp:base_unittests_apk', 830 '../base/base.gyp:base_unittests_apk',
831 '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk', 831 '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
832 '../cc/cc_tests.gyp:cc_unittests_apk', 832 '../cc/cc_tests.gyp:cc_unittests_apk',
833 '../chrome/chrome.gyp:chrome_junit_tests',
834 '../chrome/chrome.gyp:chrome_shell_test_apk',
835 '../chrome/chrome.gyp:chrome_sync_shell_test_apk',
836 '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
837 '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
838 '../chrome/chrome.gyp:unit_tests_apk',
839 '../components/components_tests.gyp:components_unittests_apk', 833 '../components/components_tests.gyp:components_unittests_apk',
840 '../content/content_shell_and_tests.gyp:content_browsertests_apk', 834 '../content/content_shell_and_tests.gyp:content_browsertests_apk',
841 '../content/content_shell_and_tests.gyp:content_gl_tests_apk', 835 '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
842 '../content/content_shell_and_tests.gyp:content_unittests_apk', 836 '../content/content_shell_and_tests.gyp:content_unittests_apk',
843 '../content/content_shell_and_tests.gyp:video_decode_accelerator_uni ttest_apk', 837 '../content/content_shell_and_tests.gyp:video_decode_accelerator_uni ttest_apk',
844 '../gpu/gpu.gyp:gl_tests_apk', 838 '../gpu/gpu.gyp:gl_tests_apk',
845 '../gpu/gpu.gyp:gpu_unittests_apk', 839 '../gpu/gpu.gyp:gpu_unittests_apk',
846 '../ipc/ipc.gyp:ipc_tests_apk', 840 '../ipc/ipc.gyp:ipc_tests_apk',
847 '../media/media.gyp:media_unittests_apk', 841 '../media/media.gyp:media_unittests_apk',
848 '../net/net.gyp:net_unittests_apk', 842 '../net/net.gyp:net_unittests_apk',
849 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk', 843 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
850 '../skia/skia_tests.gyp:skia_unittests_apk', 844 '../skia/skia_tests.gyp:skia_unittests_apk',
851 '../sql/sql.gyp:sql_unittests_apk', 845 '../sql/sql.gyp:sql_unittests_apk',
852 '../sync/sync.gyp:sync_unit_tests_apk', 846 '../sync/sync.gyp:sync_unit_tests_apk',
853 '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unit tests_apk', 847 '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unit tests_apk',
854 '../ui/android/ui_android.gyp:ui_android_unittests_apk', 848 '../ui/android/ui_android.gyp:ui_android_unittests_apk',
855 '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk', 849 '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
856 '../ui/events/events.gyp:events_unittests_apk', 850 '../ui/events/events.gyp:events_unittests_apk',
857 '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk', 851 '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
858 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_uni ttests_apk', 852 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_uni ttests_apk',
859 ], 853 ],
860 'conditions': [ 854 'conditions': [
855 ['chromecast==0', {
856 'dependencies': [
857 '../android_webview/android_webview.gyp:android_webview_unittest s',
858 '../chrome/chrome.gyp:unit_tests',
859 # Unit test bundles packaged as an apk.
860 '../android_webview/android_webview.gyp:android_webview_test_apk ',
861 '../android_webview/android_webview.gyp:android_webview_unittest s_apk',
862 '../chrome/chrome.gyp:chrome_junit_tests',
863 '../chrome/chrome.gyp:chrome_shell_test_apk',
864 '../chrome/chrome.gyp:chrome_sync_shell_test_apk',
865 '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
866 '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
867 '../chrome/chrome.gyp:unit_tests_apk',
868 ],
869 }],
861 ['enable_webrtc==1 and "<(libpeer_target_type)"=="static_library"', { 870 ['enable_webrtc==1 and "<(libpeer_target_type)"=="static_library"', {
862 'dependencies': [ 871 'dependencies': [
863 '../components/devtools_bridge.gyp:devtools_bridge_tests_apk', 872 '../components/devtools_bridge.gyp:devtools_bridge_tests_apk',
864 ], 873 ],
865 }], 874 }],
866 ], 875 ],
867 }, 876 },
868 { 877 {
869 # WebRTC Chromium tests to run on Android. 878 # WebRTC Chromium tests to run on Android.
870 'target_name': 'android_builder_chromium_webrtc', 879 'target_name': 'android_builder_chromium_webrtc',
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 'dependencies': [ 1372 'dependencies': [
1364 '../ui/views/examples/examples.gyp:views_examples_with_content_exe', 1373 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1365 '../ui/views/views.gyp:views', 1374 '../ui/views/views.gyp:views',
1366 '../ui/views/views.gyp:views_unittests', 1375 '../ui/views/views.gyp:views_unittests',
1367 ], 1376 ],
1368 }, # target_name: macviews_builder 1377 }, # target_name: macviews_builder
1369 ], # targets 1378 ], # targets
1370 }], # os=='mac' and toolkit_views==1 1379 }], # os=='mac' and toolkit_views==1
1371 ], # conditions 1380 ], # conditions
1372 } 1381 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698