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 'chromium_testshell_jni_headers',
20 'chrome.gyp:browser_ui',
21 '../content/content.gyp:content_app_browser',
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',
38 [ 'order_profiling!=0', {
41 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
45 [ 'android_use_tcmalloc==1', {
47 '../base/allocator/allocator.gyp:allocator', ],
52 'target_name': 'chromium_testshell',
55 '../media/media.gyp:media_java',
56 'chrome.gyp:chrome_java',
57 'chromium_testshell_paks',
58 'libchromiumtestshell',
61 'apk_name': 'ChromiumTestShell',
62 'manifest_package_name': 'org.chromium.chrome.testshell',
63 'java_in_dir': 'android/testshell/java',
64 'resource_dir': 'android/testshell/res',
65 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)',
66 'native_lib_target': 'libchromiumtestshell',
67 'native_lib_version_name': '<(version_full)',
68 'additional_input_paths': [
69 '<@(chrome_android_pak_output_resources)',
72 'includes': [ '../build/java_apk.gypi', ],
75 'target_name': 'chromium_testshell_jni_headers',
78 'android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java',
81 'jni_gen_package': 'chromium_testshell',
82 'jni_generator_ptr_type': 'long',
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',
108 '../content/content.gyp:content_app_browser',
112 '<(android_ndk_include)',
115 'app/android/chrome_android_initializer.cc',
116 'app/android/chrome_android_initializer.h',
117 'app/android/chrome_main_delegate_android.cc',
118 'app/android/chrome_main_delegate_android.h',
119 'app/chrome_main_delegate.cc',
120 'app/chrome_main_delegate.h',
130 'target_name': 'chromium_testshell_paks',
133 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
134 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
138 'destination': '<(chrome_android_pak_output_folder)',
140 '<@(chrome_android_pak_input_resources)',