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': 'chrome_shell_apk',
10 'chrome_android_paks.gypi', # Included for the list of pak resources.
14 'target_name': 'libchromeshell',
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/shell/chrome_main_delegate_chrome_shell_android.cc',
27 'android/shell/chrome_main_delegate_chrome_shell_android.h',
28 "android/shell/chrome_shell_google_location_settings_helper.cc",
29 "android/shell/chrome_shell_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': 'chrome_shell_apk',
55 '../media/media.gyp:media_java',
58 'apk_name': 'ChromeShell',
59 'manifest_package_name': 'org.chromium.chrome.shell',
60 'java_in_dir': 'android/shell/java',
61 'resource_dir': 'android/shell/res',
62 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)',
63 'native_lib_target': 'libchromeshell',
64 'native_lib_version_name': '<(version_full)',
65 'additional_input_paths': [
66 '<@(chrome_android_pak_output_resources)',
69 'includes': [ '../build/java_apk.gypi', ],
72 # chrome_shell_apk creates a .jar as a side effect. Any java targets
73 # that need that .jar in their classpath should depend on this target,
74 # chrome_shell_apk_java. Dependents of chrome_shell_apk receive its
75 # jar path in the variable 'apk_output_jar_path'.
76 # This target should only be used by targets which instrument
78 'target_name': 'chrome_shell_apk_java',
83 'includes': [ '../build/apk_fake_jar.gypi' ],
86 'target_name': 'chrome_android_core',
87 'type': 'static_library',
90 'chrome.gyp:browser_ui',
92 'chrome.gyp:renderer',
94 '../content/content.gyp:content',
95 '../content/content.gyp:content_app_browser',
99 '<(android_ndk_include)',
102 'app/android/chrome_android_initializer.cc',
103 'app/android/chrome_android_initializer.h',
104 'app/android/chrome_main_delegate_android.cc',
105 'app/android/chrome_main_delegate_android.h',
106 'app/chrome_main_delegate.cc',
107 'app/chrome_main_delegate.h',
117 'target_name': 'chrome_shell_paks',
120 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
121 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
125 'destination': '<(chrome_android_pak_output_folder)',
127 '<@(chrome_android_pak_input_resources)',