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',
24 # This file must always be included in the shared_library step to ensure
25 # JNI_OnLoad is exported.
26 'app/android/chrome_jni_onload.cc',
27 'android/testshell/chrome_main_delegate_testshell_android.cc',
28 'android/testshell/chrome_main_delegate_testshell_android.h',
29 "android/testshell/testshell_google_location_settings_helper.cc",
30 "android/testshell/testshell_google_location_settings_helper.h",
31 'android/testshell/testshell_tab.cc',
32 'android/testshell/testshell_tab.h',
33 'android/testshell/testshell_stubs.cc',
36 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
40 [ 'order_profiling!=0', {
43 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
47 [ 'android_use_tcmalloc==1', {
49 '../base/allocator/allocator.gyp:allocator', ],
54 'target_name': 'chromium_testshell',
57 '../media/media.gyp:media_java',
58 'chrome.gyp:chrome_java',
59 'chromium_testshell_paks',
60 'libchromiumtestshell',
63 'apk_name': 'ChromiumTestShell',
64 'manifest_package_name': 'org.chromium.chrome.testshell',
65 'java_in_dir': 'android/testshell/java',
66 'resource_dir': 'android/testshell/res',
67 'asset_location': '<(ant_build_out)/../assets/<(package_name)',
68 'native_lib_target': 'libchromiumtestshell',
69 'additional_input_paths': [
70 '<@(chrome_android_pak_output_resources)',
73 'includes': [ '../build/java_apk.gypi', ],
76 'target_name': 'chromium_testshell_jni_headers',
79 'android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java',
82 'jni_gen_package': 'chromium_testshell',
84 'includes': [ '../build/jni_generator.gypi' ],
87 # chromium_testshell creates a .jar as a side effect. Any java targets
88 # that need that .jar in their classpath should depend on this target,
89 # chromium_testshell_java. Dependents of chromium_testshell receive its
90 # jar path in the variable 'apk_output_jar_path'.
91 'target_name': 'chromium_testshell_java',
96 'includes': [ '../build/apk_fake_jar.gypi' ],
99 'target_name': 'chrome_android_core',
100 'type': 'static_library',
102 'chrome.gyp:browser',
103 'chrome.gyp:browser_ui',
105 'chrome.gyp:renderer',
106 'chrome.gyp:utility',
107 '../content/content.gyp:content',
111 '<(SHARED_INTERMEDIATE_DIR)/android',
112 '<(SHARED_INTERMEDIATE_DIR)/chrome',
113 '<(android_ndk_include)',
116 'app/android/chrome_android_initializer.cc',
117 'app/android/chrome_android_initializer.h',
118 'app/android/chrome_data_reduction_proxy_android.cc',
119 'app/android/chrome_data_reduction_proxy_android.h',
120 'app/android/chrome_main_delegate_android.cc',
121 'app/android/chrome_main_delegate_android.h',
122 'app/chrome_main_delegate.cc',
123 'app/chrome_main_delegate.h',
133 'target_name': 'chrome_android_auxiliary',
134 'type': 'static_library',
136 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
139 'android/testshell/chrome_data_reduction_proxy_testshell_android.cc',
142 '../base/base.gyp:base',
146 'target_name': 'chromium_testshell_paks',
149 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
150 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
154 'destination': '<(chrome_android_pak_output_folder)',
156 '<@(chrome_android_pak_input_resources)',