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
3 # found in the LICENSE file.
5 # This is all.gyp file for Android to prevent breakage in Android and other
6 # platform; It will be churning a lot in the short term and eventually be merged
11 # A hook that can be overridden in other repositories to add additional
12 # compilation targets to 'All'
13 'android_app_targets%': [],
20 '../content/content_shell_and_tests.gyp:content_shell_apk',
21 '../mojo/mojo.gyp:mojo_shell_apk',
22 '<@(android_app_targets)',
23 'android_builder_tests',
24 '../android_webview/android_webview.gyp:android_webview_apk',
25 '../chrome/chrome.gyp:chromium_testshell',
26 '../remoting/remoting.gyp:remoting_apk',
27 # TODO(nyquist) This should instead by a target for sync when all of
28 # the sync-related code for Android has been upstreamed.
29 # See http://crbug.com/159203
30 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
34 'target_name': 'all_webkit',
37 '../third_party/WebKit/public/all.gyp:all_blink',
38 '../content/content_shell_and_tests.gyp:content_shell_apk',
39 '../breakpad/breakpad.gyp:dump_syms#host',
40 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
42 }, # target_name: all_webkit
44 # The current list of tests for android. This is temporary
45 # until the full set supported. If adding a new test here,
46 # please also add it to build/android/pylib/gtest/gtest_config.py,
47 # else the test is not run.
50 # Do not add targets here without communicating the implications
51 # on tryserver triggers and load. Discuss with jrg please.
52 'target_name': 'android_builder_tests',
55 '../android_webview/android_webview.gyp:android_webview_unittests',
56 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
57 '../base/base.gyp:base_unittests',
58 '../breakpad/breakpad.gyp:breakpad_unittests',
59 # Also compile the tools needed to deal with minidumps, they are
60 # needed to run minidump tests upstream.
61 '../breakpad/breakpad.gyp:dump_syms#host',
62 '../breakpad/breakpad.gyp:symupload#host',
63 '../breakpad/breakpad.gyp:minidump_dump#host',
64 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
65 '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
66 '../cc/cc_tests.gyp:cc_perftests_apk',
67 '../cc/cc_tests.gyp:cc_unittests',
68 '../chrome/chrome.gyp:unit_tests',
69 '../components/components_tests.gyp:components_unittests',
70 '../content/content_shell_and_tests.gyp:content_browsertests',
71 '../content/content_shell_and_tests.gyp:content_gl_tests',
72 '../content/content_shell_and_tests.gyp:content_shell_test_apk',
73 '../content/content_shell_and_tests.gyp:content_unittests',
74 '../gpu/gpu.gyp:gl_tests',
75 '../gpu/gpu.gyp:gpu_unittests',
76 '../ipc/ipc.gyp:ipc_tests',
77 '../media/media.gyp:media_unittests',
78 '../net/net.gyp:net_unittests',
79 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
80 '../sql/sql.gyp:sql_unittests',
81 '../sync/sync.gyp:sync_unit_tests',
82 '../third_party/WebKit/public/all.gyp:*',
83 '../tools/android/android_tools.gyp:android_tools',
84 '../tools/android/android_tools.gyp:memconsumer',
85 '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
86 '../ui/ui_unittests.gyp:ui_unittests',
87 # Required by ui_unittests.
88 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
89 # this would cause circular gyp dependency which needs refactoring the
91 '../chrome/chrome_resources.gyp:packed_resources',
94 ['"<(gtest_target_type)"=="shared_library"', {
96 # Unit test bundles packaged as an apk.
97 '../android_webview/android_webview.gyp:android_webview_unittests_apk',
98 '../base/base.gyp:base_unittests_apk',
99 '../cc/cc_tests.gyp:cc_unittests_apk',
100 '../chrome/chrome.gyp:unit_tests_apk',
101 '../components/components_tests.gyp:components_unittests_apk',
102 '../content/content_shell_and_tests.gyp:content_browsertests_apk',
103 '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
104 '../content/content_shell_and_tests.gyp:content_unittests_apk',
105 '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
106 '../gpu/gpu.gyp:gl_tests_apk',
107 '../gpu/gpu.gyp:gpu_unittests_apk',
108 '../ipc/ipc.gyp:ipc_tests_apk',
109 '../media/media.gyp:media_unittests_apk',
110 '../net/net.gyp:net_unittests_apk',
111 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
112 '../sql/sql.gyp:sql_unittests_apk',
113 '../sync/sync.gyp:sync_unit_tests_apk',
114 '../ui/ui_unittests.gyp:ui_unittests_apk',
115 '../android_webview/android_webview.gyp:android_webview_test_apk',
116 '../chrome/chrome.gyp:chromium_testshell_test_apk',
117 '../chrome/chrome.gyp:chromium_testshell_uiautomator_tests',
118 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests_apk'
124 # WebRTC Android APK tests.
125 'target_name': 'android_builder_webrtc',
128 # WebRTC tests are normally not built by Chromium bots.
132 ['"<(gtest_target_type)"=="shared_library" and include_tests==1', {
134 '../third_party/webrtc/build/apk_tests.gyp:*',
138 }, # target_name: android_builder_webrtc
140 # Experimental / in-progress targets that are expected to fail
141 # but we still try to compile them on bots (turning the stage
143 'target_name': 'android_experimental',
149 # In-progress targets that are expected to fail and are NOT run
151 'target_name': 'android_in_progress',