Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Side by Side Diff: build/java_apk.gypi

Issue 14238023: [Android] Use CONFIGURATION_NAME-specific device folders (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/gyp/push_libraries.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to build Android APKs in a consistent manner. 6 # to build Android APKs in a consistent manner.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'my_package_apk', 10 # 'target_name': 'my_package_apk',
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 'push_stamp': '<(intermediate_dir)/push.stamp', 101 'push_stamp': '<(intermediate_dir)/push.stamp',
102 'link_stamp': '<(intermediate_dir)/link.stamp', 102 'link_stamp': '<(intermediate_dir)/link.stamp',
103 'package_resources_stamp': '<(intermediate_dir)/package_resources.stamp', 103 'package_resources_stamp': '<(intermediate_dir)/package_resources.stamp',
104 'codegen_input_paths': [], 104 'codegen_input_paths': [],
105 'keystore_path': '<(DEPTH)/build/android/ant/chromium-debug.keystore', 105 'keystore_path': '<(DEPTH)/build/android/ant/chromium-debug.keystore',
106 'unsigned_apk_path': '<(intermediate_dir)/<(apk_name)-unsigned.apk', 106 'unsigned_apk_path': '<(intermediate_dir)/<(apk_name)-unsigned.apk',
107 'final_apk_path%': '<(PRODUCT_DIR)/apks/<(apk_name).apk', 107 'final_apk_path%': '<(PRODUCT_DIR)/apks/<(apk_name).apk',
108 'source_dir': '<(java_in_dir)/src', 108 'source_dir': '<(java_in_dir)/src',
109 'apk_install_record': '<(intermediate_dir)/apk_install.record.stamp', 109 'apk_install_record': '<(intermediate_dir)/apk_install.record.stamp',
110 'apk_package_native_libs_dir': '<(intermediate_dir)/libs', 110 'apk_package_native_libs_dir': '<(intermediate_dir)/libs',
111 'device_intermediate_dir': '/data/local/tmp/chromium/<(_target_name)/<(CONFI GURATION_NAME)',
111 'symlink_script_host_path': '<(intermediate_dir)/create_symlinks.sh', 112 'symlink_script_host_path': '<(intermediate_dir)/create_symlinks.sh',
112 'symlink_script_device_path': '/data/local/tmp/chromium/<(_target_name)/crea te_symlinks.sh', 113 'symlink_script_device_path': '<(device_intermediate_dir)/create_symlinks.sh ',
113 }, 114 },
114 # Pass the jar path to the apk's "fake" jar target. This would be better as 115 # Pass the jar path to the apk's "fake" jar target. This would be better as
115 # direct_dependent_settings, but a variable set by a direct_dependent_settings 116 # direct_dependent_settings, but a variable set by a direct_dependent_settings
116 # cannot be lifted in a dependent to all_dependent_settings. 117 # cannot be lifted in a dependent to all_dependent_settings.
117 'all_dependent_settings': { 118 'all_dependent_settings': {
118 'variables': { 119 'variables': {
119 'apk_output_jar_path': '<(PRODUCT_DIR)/lib.java/<(jar_name)', 120 'apk_output_jar_path': '<(PRODUCT_DIR)/lib.java/<(jar_name)',
120 }, 121 },
121 }, 122 },
122 'conditions': [ 123 'conditions': [
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 'input_paths': ['<@(native_libs_paths)'], 197 'input_paths': ['<@(native_libs_paths)'],
197 }, 198 },
198 'includes': ['../build/android/strip_native_libraries.gypi'], 199 'includes': ['../build/android/strip_native_libraries.gypi'],
199 }, 200 },
200 ], 201 ],
201 'conditions': [ 202 'conditions': [
202 ['gyp_managed_install == 1', { 203 ['gyp_managed_install == 1', {
203 'variables': { 204 'variables': {
204 'libraries_source_dir': '<(intermediate_dir)/lib.stripped/<(android_ app_abi)', 205 'libraries_source_dir': '<(intermediate_dir)/lib.stripped/<(android_ app_abi)',
205 'apk_package_native_libs_dir': '<(intermediate_dir)/libs.managed', 206 'apk_package_native_libs_dir': '<(intermediate_dir)/libs.managed',
206 'device_library_dir': '/data/local/tmp/chromium/lib.stripped/<(_targ et_name)', 207 'device_library_dir': '<(device_intermediate_dir)/lib.stripped',
207 }, 208 },
208 'dependencies': [ 209 'dependencies': [
209 '<(DEPTH)/tools/android/md5sum/md5sum.gyp:md5sum', 210 '<(DEPTH)/tools/android/md5sum/md5sum.gyp:md5sum',
210 ], 211 ],
211 'actions': [ 212 'actions': [
212 { 213 {
213 'includes': ['../build/android/push_libraries.gypi'], 214 'includes': ['../build/android/push_libraries.gypi'],
214 }, 215 },
215 { 216 {
216 'action_name': 'create device library symlinks', 217 'action_name': 'create device library symlinks',
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 '--unsigned-apk-path=<(unsigned_apk_path)', 597 '--unsigned-apk-path=<(unsigned_apk_path)',
597 '--final-apk-path=<(final_apk_path)', 598 '--final-apk-path=<(final_apk_path)',
598 '--keystore-path=<(keystore_path)', 599 '--keystore-path=<(keystore_path)',
599 600
600 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. 601 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja.
601 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', 602 '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
602 ], 603 ],
603 }, 604 },
604 ], 605 ],
605 } 606 }
OLDNEW
« no previous file with comments | « build/android/gyp/push_libraries.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698