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.gyp:browser_ui',
20 '../content/content.gyp:content_app_browser',
23 # This file must always be included in the shared_library step to ensure
24 # JNI_OnLoad is exported.
25 'app/android/chrome_jni_onload.cc',
26 'android/testshell/chrome_main_delegate_testshell_android.cc',
27 'android/testshell/chrome_main_delegate_testshell_android.h',
28 "android/testshell/testshell_google_location_settings_helper.cc",
29 "android/testshell/testshell_google_location_settings_helper.h",
35 [ 'order_profiling!=0', {
38 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
42 [ 'android_use_tcmalloc==1', {
44 '../base/allocator/allocator.gyp:allocator', ],
49 'target_name': 'chromium_testshell',
52 '../media/media.gyp:media_java',
53 'chrome.gyp:chrome_java',
54 'chromium_testshell_paks',
55 'libchromiumtestshell',
58 'apk_name': 'ChromiumTestShell',
59 'manifest_package_name': 'org.chromium.chrome.testshell',
60 'java_in_dir': 'android/testshell/java',
61 'resource_dir': 'android/testshell/res',
62 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)',
63 'native_lib_target': 'libchromiumtestshell',
64 'native_lib_version_name': '<(version_full)',
65 'additional_input_paths': [
66 '<@(chrome_android_pak_output_resources)',
69 'includes': [ '../build/java_apk.gypi', ],
72 # chromium_testshell creates a .jar as a side effect. Any java targets
73 # that need that .jar in their classpath should depend on this target,
74 # chromium_testshell_java. Dependents of chromium_testshell receive its
75 # jar path in the variable 'apk_output_jar_path'.
76 'target_name': 'chromium_testshell_java',
81 'includes': [ '../build/apk_fake_jar.gypi' ],
84 'target_name': 'chrome_android_core',
85 'type': 'static_library',
88 'chrome.gyp:browser_ui',
90 'chrome.gyp:renderer',
92 '../content/content.gyp:content',
93 '../content/content.gyp:content_app_browser',
97 '<(android_ndk_include)',
100 'app/android/chrome_android_initializer.cc',
101 'app/android/chrome_android_initializer.h',
102 'app/android/chrome_main_delegate_android.cc',
103 'app/android/chrome_main_delegate_android.h',
104 'app/chrome_main_delegate.cc',
105 'app/chrome_main_delegate.h',
115 'target_name': 'chromium_testshell_paks',
118 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
119 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
123 'destination': '<(chrome_android_pak_output_folder)',
125 '<@(chrome_android_pak_input_resources)',