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',
23 # TODO(miguelg): This should be indirect, see http://crbug.com/280695 .
24 '../skia/skia.gyp:skia',
27 # This file must always be included in the shared_library step to ensure
28 # JNI_OnLoad is exported.
29 'app/android/chrome_jni_onload.cc',
30 'android/testshell/chrome_main_delegate_testshell_android.cc',
31 'android/testshell/chrome_main_delegate_testshell_android.h',
32 "android/testshell/testshell_google_location_settings_helper.cc",
33 "android/testshell/testshell_google_location_settings_helper.h",
34 'android/testshell/testshell_tab.cc',
35 'android/testshell/testshell_tab.h',
36 'android/testshell/testshell_stubs.cc',
39 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
43 [ 'order_profiling!=0', {
46 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
50 [ 'android_use_tcmalloc==1', {
52 '../base/allocator/allocator.gyp:allocator', ],
57 'target_name': 'chromium_testshell',
60 '../media/media.gyp:media_java',
61 'chrome.gyp:chrome_java',
62 'chromium_testshell_paks',
63 'libchromiumtestshell',
66 'apk_name': 'ChromiumTestShell',
67 'manifest_package_name': 'org.chromium.chrome.testshell',
68 'java_in_dir': 'android/testshell/java',
69 'resource_dir': 'android/testshell/res',
70 'asset_location': '<(ant_build_out)/../assets/<(package_name)',
71 'native_lib_target': 'libchromiumtestshell',
72 'additional_input_paths': [
73 '<@(chrome_android_pak_output_resources)',
76 'includes': [ '../build/java_apk.gypi', ],
79 'target_name': 'chromium_testshell_jni_headers',
82 'android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java',
85 'jni_gen_package': 'chromium_testshell',
87 'includes': [ '../build/jni_generator.gypi' ],
90 # chromium_testshell creates a .jar as a side effect. Any java targets
91 # that need that .jar in their classpath should depend on this target,
92 # chromium_testshell_java. Dependents of chromium_testshell receive its
93 # jar path in the variable 'apk_output_jar_path'.
94 'target_name': 'chromium_testshell_java',
99 'includes': [ '../build/apk_fake_jar.gypi' ],
102 'target_name': 'chrome_android_core',
103 'type': 'static_library',
105 'chrome.gyp:browser',
106 'chrome.gyp:browser_ui',
108 'chrome.gyp:renderer',
109 'chrome.gyp:utility',
110 '../content/content.gyp:content',
111 '../content/content.gyp:content_app_browser',
115 '<(SHARED_INTERMEDIATE_DIR)/android',
116 '<(SHARED_INTERMEDIATE_DIR)/chrome',
117 '<(android_ndk_include)',
120 'app/android/chrome_android_initializer.cc',
121 'app/android/chrome_android_initializer.h',
122 'app/android/chrome_data_reduction_proxy_android.cc',
123 'app/android/chrome_data_reduction_proxy_android.h',
124 'app/android/chrome_main_delegate_android.cc',
125 'app/android/chrome_main_delegate_android.h',
126 'app/chrome_main_delegate.cc',
127 'app/chrome_main_delegate.h',
137 'target_name': 'chrome_android_auxiliary',
138 'type': 'static_library',
140 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
143 'android/testshell/chrome_data_reduction_proxy_testshell_android.cc',
146 '../base/base.gyp:base',
150 'target_name': 'chromium_testshell_paks',
153 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
154 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
158 'destination': '<(chrome_android_pak_output_folder)',
160 '<@(chrome_android_pak_input_resources)',