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',
27 '../android_webview/android_webview.gyp:android_webview_apk',
28 '../chrome/chrome.gyp:chromium_testshell',
34 # The current list of tests for android. This is temporary
35 # until the full set supported. If adding a new test here,
36 # please also add it to build/android/run_tests.py, else the
40 # Do not add targets here without communicating the implications
41 # on tryserver triggers and load. Discuss with jrg please.
42 'target_name': 'android_builder_tests',
45 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
46 '../base/base.gyp:base_unittests',
47 '../chrome/chrome.gyp:unit_tests',
48 '../content/content.gyp:content_shell_test_apk',
49 '../content/content.gyp:content_unittests',
50 '../gpu/gpu.gyp:gpu_unittests',
51 '../ipc/ipc.gyp:ipc_tests',
52 '../media/media.gyp:media_unittests',
53 '../net/net.gyp:net_unittests',
54 '../sql/sql.gyp:sql_unittests',
55 '../sync/sync.gyp:sync_unit_tests',
56 '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*',
57 '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor',
58 '../tools/android/fake_dns/fake_dns.gyp:fake_dns',
59 '../tools/android/forwarder/forwarder.gyp:forwarder',
60 '../tools/android/forwarder2/forwarder.gyp:forwarder2',
61 '../tools/android/md5sum/md5sum.gyp:md5sum',
62 '../ui/ui.gyp:ui_unittests',
63 # From here down: not added to run_tests.py yet.
64 '../jingle/jingle.gyp:jingle_unittests',
65 # Required by ui_unittests.
66 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
67 # this would cause circular gyp dependency which needs refactoring the
69 '../chrome/chrome_resources.gyp:packed_resources',
72 ['linux_breakpad==1', {
74 '../breakpad/breakpad.gyp:breakpad_unittests',
77 ['"<(gtest_target_type)"=="shared_library"', {
79 # The first item is simply the template. We add as a dep
80 # to make sure it builds in ungenerated form. TODO(jrg):
81 # once stable, transition to a test-only (optional)
83 '../testing/android/native_test.gyp:native_test_apk',
84 # Unit test bundles packaged as an apk.
85 '../base/base.gyp:base_unittests_apk',
86 '../chrome/chrome.gyp:unit_tests_apk',
87 '../content/content.gyp:content_unittests_apk',
88 '../gpu/gpu.gyp:gpu_unittests_apk',
89 '../ipc/ipc.gyp:ipc_tests_apk',
90 '../media/media.gyp:media_unittests_apk',
91 '../net/net.gyp:net_unittests_apk',
92 '../sql/sql.gyp:sql_unittests_apk',
93 '../sync/sync.gyp:sync_unit_tests_apk',
94 '../ui/ui.gyp:ui_unittests_apk',
99 '../android_webview/android_webview.gyp:android_webview_test_apk',
105 # Experimental / in-progress targets that are expected to fail
106 # but we still try to compile them on bots (turning the stage
108 'target_name': 'android_experimental',
114 # In-progress targets that are expected to fail and are NOT run
116 'target_name': 'android_in_progress',
119 '../content/content.gyp:content_browsertests',
123 # Target for creating common output build directories. Creating output
124 # dirs beforehand ensures that build scripts can assume these folders to
125 # exist and there are no race conditions resulting from build scripts
126 # trying to create these directories.
127 # The build/java.gypi target depends on this target.
128 'target_name': 'build_output_dirs',
132 'action_name': 'create_java_output_dirs',
135 '<(PRODUCT_DIR)/apks',
136 '<(PRODUCT_DIR)/lib.java',
137 '<(PRODUCT_DIR)/test.lib.java',
151 }, # build_output_dirs