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.gyp:content_shell_apk',
21 '<@(android_app_targets)',
22 'android_builder_tests',
23 '../android_webview/android_webview.gyp:android_webview_apk',
24 '../chrome/chrome.gyp:chromium_testshell',
25 # TODO(nyquist) This should instead by a target for sync when all of
26 # the sync-related code for Android has been upstreamed.
27 # See http://crbug.com/159203
28 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
32 # The current list of tests for android. This is temporary
33 # until the full set supported. If adding a new test here,
34 # please also add it to build/android/run_tests.py, else the
38 # Do not add targets here without communicating the implications
39 # on tryserver triggers and load. Discuss with jrg please.
40 'target_name': 'android_builder_tests',
43 '../android_webview/android_webview.gyp:android_webview_unittests',
44 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
45 '../base/base.gyp:base_unittests',
46 '../cc/cc_tests.gyp:cc_perftests_apk',
47 '../cc/cc_tests.gyp:cc_unittests',
48 '../chrome/chrome.gyp:unit_tests',
49 '../components/components.gyp:components_unittests',
50 '../content/content.gyp:content_browsertests',
51 '../content/content.gyp:content_shell_test_apk',
52 '../content/content.gyp:content_unittests',
53 '../gpu/gpu.gyp:gl_tests',
54 '../gpu/gpu.gyp:gpu_unittests',
55 '../ipc/ipc.gyp:ipc_tests',
56 '../media/media.gyp:media_unittests',
57 '../net/net.gyp:net_unittests',
58 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
59 '../sql/sql.gyp:sql_unittests',
60 '../sync/sync.gyp:sync_unit_tests',
61 '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*',
62 '../tools/android/android_tools.gyp:android_tools',
63 '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor',
64 '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
65 '../ui/ui.gyp:ui_unittests',
66 # Required by ui_unittests.
67 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
68 # this would cause circular gyp dependency which needs refactoring the
70 '../chrome/chrome_resources.gyp:packed_resources',
73 ['linux_breakpad==1', {
75 '../breakpad/breakpad.gyp:breakpad_unittests',
76 # Also compile the tools needed to deal with minidumps, they are
77 # needed to run minidump tests upstream.
78 '../breakpad/breakpad.gyp:dump_syms#host',
79 '../breakpad/breakpad.gyp:symupload#host',
80 '../breakpad/breakpad.gyp:minidump_dump#host',
81 '../breakpad/breakpad.gyp:minidump_stackwalk#host'
84 ['"<(gtest_target_type)"=="shared_library"', {
86 # The first item is simply the template. We add as a dep
87 # to make sure it builds in ungenerated form. TODO(jrg):
88 # once stable, transition to a test-only (optional)
90 '../testing/android/native_test.gyp:native_test_apk',
91 # Unit test bundles packaged as an apk.
92 '../android_webview/android_webview.gyp:android_webview_unittests_apk',
93 '../base/base.gyp:base_unittests_apk',
94 '../cc/cc_tests.gyp:cc_unittests_apk',
95 '../chrome/chrome.gyp:unit_tests_apk',
96 '../components/components.gyp:components_unittests_apk',
97 '../content/content.gyp:content_browsertests_apk',
98 '../content/content.gyp:content_unittests_apk',
99 '../gpu/gpu.gyp:gl_tests_apk',
100 '../gpu/gpu.gyp:gpu_unittests_apk',
101 '../ipc/ipc.gyp:ipc_tests_apk',
102 '../media/media.gyp:media_unittests_apk',
103 '../net/net.gyp:net_unittests_apk',
104 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
105 '../sql/sql.gyp:sql_unittests_apk',
106 '../sync/sync.gyp:sync_unit_tests_apk',
107 '../ui/ui.gyp:ui_unittests_apk',
108 '../android_webview/android_webview.gyp:android_webview_test_apk',
109 '../chrome/chrome.gyp:chromium_testshell_test_apk',
110 '../webkit/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests_apk'
116 # Experimental / in-progress targets that are expected to fail
117 # but we still try to compile them on bots (turning the stage
119 'target_name': 'android_experimental',
125 # In-progress targets that are expected to fail and are NOT run
127 'target_name': 'android_in_progress',