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.
7 'package_name': 'chromium_testshell',
10 'chrome_android_paks.gypi', # Included for the list of pak resources.
14 'target_name': 'libchromiumtestshell',
15 'type': 'shared_library',
17 '../base/base.gyp:base',
18 'chrome_android_core',
19 'chrome_android_auxiliary',
20 'chromium_testshell_jni_headers',
21 'chrome.gyp:browser_ui',
22 '../content/content.gyp:content_app_browser',
25 # This file must always be included in the shared_library step to ensure
26 # JNI_OnLoad is exported.
27 'app/android/chrome_jni_onload.cc',
28 'android/testshell/chrome_main_delegate_testshell_android.cc',
29 'android/testshell/chrome_main_delegate_testshell_android.h',
30 "android/testshell/testshell_google_location_settings_helper.cc",
31 "android/testshell/testshell_google_location_settings_helper.h",
32 'android/testshell/testshell_tab.cc',
33 'android/testshell/testshell_tab.h',
34 'android/testshell/testshell_stubs.cc',
37 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
41 [ 'order_profiling!=0', {
44 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
48 [ 'android_use_tcmalloc==1', {
50 '../base/allocator/allocator.gyp:allocator', ],
55 'target_name': 'chromium_testshell',
58 '../media/media.gyp:media_java',
59 'chrome.gyp:chrome_java',
60 'chromium_testshell_paks',
61 'libchromiumtestshell',
64 'apk_name': 'ChromiumTestShell',
65 'manifest_package_name': 'org.chromium.chrome.testshell',
66 'java_in_dir': 'android/testshell/java',
67 'resource_dir': 'android/testshell/res',
68 'asset_location': '<(ant_build_out)/../assets/<(package_name)',
69 'native_lib_target': 'libchromiumtestshell',
70 'additional_input_paths': [
71 '<@(chrome_android_pak_output_resources)',
74 'includes': [ '../build/java_apk.gypi', ],
77 'target_name': 'chromium_testshell_jni_headers',
80 'android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java',
83 'jni_gen_package': 'chromium_testshell',
85 'includes': [ '../build/jni_generator.gypi' ],
88 # chromium_testshell creates a .jar as a side effect. Any java targets
89 # that need that .jar in their classpath should depend on this target,
90 # chromium_testshell_java. Dependents of chromium_testshell receive its
91 # jar path in the variable 'apk_output_jar_path'.
92 'target_name': 'chromium_testshell_java',
97 'includes': [ '../build/apk_fake_jar.gypi' ],
100 'target_name': 'chrome_android_core',
101 'type': 'static_library',
103 'chrome.gyp:browser',
104 'chrome.gyp:browser_ui',
106 'chrome.gyp:renderer',
107 'chrome.gyp:utility',
108 '../content/content.gyp:content',
109 '../content/content.gyp:content_app_browser',
113 '<(SHARED_INTERMEDIATE_DIR)/android',
114 '<(SHARED_INTERMEDIATE_DIR)/chrome',
115 '<(android_ndk_include)',
118 'app/android/chrome_android_initializer.cc',
119 'app/android/chrome_android_initializer.h',
120 'app/android/chrome_data_reduction_proxy_android.cc',
121 'app/android/chrome_data_reduction_proxy_android.h',
122 'app/android/chrome_main_delegate_android.cc',
123 'app/android/chrome_main_delegate_android.h',
124 'app/chrome_main_delegate.cc',
125 'app/chrome_main_delegate.h',
135 'target_name': 'chrome_android_auxiliary',
136 'type': 'static_library',
138 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
141 'android/testshell/chrome_data_reduction_proxy_testshell_android.cc',
144 '../base/base.gyp:base',
148 'target_name': 'chromium_testshell_paks',
151 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
152 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
156 'destination': '<(chrome_android_pak_output_folder)',
158 '<@(chrome_android_pak_input_resources)',