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

Side by Side Diff: build/android/finalize_apk_action.gypi

Issue 1137313003: Add use_apk_split parameter to java_apk.gypi / android_apk (gn) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@package_resources
Patch Set: Address style nits. Created 5 years, 7 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 an action to provide an action that 5 # This file is meant to be included into an action to provide an action that
6 # signs and zipaligns an APK. 6 # signs and zipaligns an APK.
7 # 7 #
8 # To use this, create a gyp action with the following form: 8 # To use this, create a gyp action with the following form:
9 # { 9 # {
10 # 'action_name': 'some descriptive action name', 10 # 'action_name': 'some descriptive action name',
11 # 'variables': { 11 # 'variables': {
12 # 'input_apk_path': 'relative/path/to/input.apk', 12 # 'input_apk_path': 'relative/path/to/input.apk',
13 # 'output_apk_path': 'relative/path/to/output.apk', 13 # 'output_apk_path': 'relative/path/to/output.apk',
14 # }, 14 # },
15 # 'includes': [ '../../build/android/finalize_apk_action.gypi' ], 15 # 'includes': [ '../../build/android/finalize_apk_action.gypi' ],
16 # }, 16 # },
17 # 17 #
18 18
19 { 19 {
20 'message': 'Signing/aligning <(_target_name) APK: <(input_apk_path)', 20 'message': 'Signing/aligning <(_target_name) APK: <(input_apk_path)',
21 'variables': { 21 'variables': {
22 'keystore_path%': '<(DEPTH)/build/android/ant/chromium-debug.keystore', 22 'keystore_path%': '<(DEPTH)/build/android/ant/chromium-debug.keystore',
23 'keystore_name%': 'chromiumdebugkey', 23 'keystore_name%': 'chromiumdebugkey',
24 'keystore_password%': 'chromium', 24 'keystore_password%': 'chromium',
25 'zipalign_path%': '<(android_sdk_tools)/zipalign', 25 'zipalign_path%': '<(android_sdk_tools)/zipalign',
26 'rezip_apk_jar_path%': '<(PRODUCT_DIR)/lib.java/rezip_apk.jar', 26 'rezip_apk_jar_path%': '<(PRODUCT_DIR)/lib.java/rezip_apk.jar',
27 'load_library_from_zip%': 0,
27 }, 28 },
28 'inputs': [ 29 'inputs': [
29 '<(DEPTH)/build/android/gyp/finalize_apk.py', 30 '<(DEPTH)/build/android/gyp/finalize_apk.py',
30 '<(DEPTH)/build/android/gyp/util/build_utils.py', 31 '<(DEPTH)/build/android/gyp/util/build_utils.py',
31 '<(keystore_path)', 32 '<(keystore_path)',
32 '<(input_apk_path)', 33 '<(input_apk_path)',
33 ], 34 ],
34 'outputs': [ 35 'outputs': [
35 '<(output_apk_path)', 36 '<(output_apk_path)',
36 ], 37 ],
37 'action': [ 38 'action': [
38 'python', '<(DEPTH)/build/android/gyp/finalize_apk.py', 39 'python', '<(DEPTH)/build/android/gyp/finalize_apk.py',
39 '--zipalign-path=<(zipalign_path)', 40 '--zipalign-path=<(zipalign_path)',
40 '--unsigned-apk-path=<(input_apk_path)', 41 '--unsigned-apk-path=<(input_apk_path)',
41 '--final-apk-path=<(output_apk_path)', 42 '--final-apk-path=<(output_apk_path)',
42 '--key-path=<(keystore_path)', 43 '--key-path=<(keystore_path)',
43 '--key-name=<(keystore_name)', 44 '--key-name=<(keystore_name)',
44 '--key-passwd=<(keystore_password)', 45 '--key-passwd=<(keystore_password)',
45 '--load-library-from-zip-file=<(load_library_from_zip_file)', 46 '--load-library-from-zip-file=<(load_library_from_zip)',
46 '--rezip-apk-jar-path=<(rezip_apk_jar_path)', 47 '--rezip-apk-jar-path=<(rezip_apk_jar_path)',
47 ], 48 ],
48 } 49 }
OLDNEW
« no previous file with comments | « base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698