OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 a helper to java_apk.gypi. It should be used to create an | 5 # This file is a helper to java_apk.gypi. It should be used to create an |
6 # action that runs ApkBuilder via ANT. | 6 # action that runs ApkBuilder via ANT. |
7 # | 7 # |
8 # Required variables: | 8 # Required variables: |
9 # apk_name - File name (minus path & extension) of the output apk. | 9 # apk_name - File name (minus path & extension) of the output apk. |
10 # android_manifest_path - Path to AndroidManifest.xml. | 10 # android_manifest_path - Path to AndroidManifest.xml. |
(...skipping 27 matching lines...) Expand all Loading... |
38 '<(DEPTH)/build/android/gyp/package_resources.py', | 38 '<(DEPTH)/build/android/gyp/package_resources.py', |
39 '<(android_manifest_path)', | 39 '<(android_manifest_path)', |
40 '<@(extra_inputs)', | 40 '<@(extra_inputs)', |
41 ], | 41 ], |
42 'outputs': [ | 42 'outputs': [ |
43 '<(resource_packaged_apk_path)', | 43 '<(resource_packaged_apk_path)', |
44 ], | 44 ], |
45 'action': [ | 45 'action': [ |
46 'python', '<(DEPTH)/build/android/gyp/package_resources.py', | 46 'python', '<(DEPTH)/build/android/gyp/package_resources.py', |
47 '--android-sdk', '<(android_sdk)', | 47 '--android-sdk', '<(android_sdk)', |
48 '--android-sdk-tools', '<(android_sdk_tools)', | 48 '--aapt-path', '<(android_aapt_path)', |
49 '--configuration-name', '<(CONFIGURATION_NAME)', | 49 '--configuration-name', '<(CONFIGURATION_NAME)', |
50 '--android-manifest', '<(android_manifest_path)', | 50 '--android-manifest', '<(android_manifest_path)', |
51 '--version-code', '<(app_manifest_version_code)', | 51 '--version-code', '<(app_manifest_version_code)', |
52 '--version-name', '<(app_manifest_version_name)', | 52 '--version-name', '<(app_manifest_version_name)', |
53 '--no-compress', '<(extensions_to_not_compress)', | 53 '--no-compress', '<(extensions_to_not_compress)', |
54 '--apk-path', '<(resource_packaged_apk_path)', | 54 '--apk-path', '<(resource_packaged_apk_path)', |
55 ], | 55 ], |
56 'conditions': [ | 56 'conditions': [ |
57 ['shared_resources == 1', { | 57 ['shared_resources == 1', { |
58 'action': [ | 58 'action': [ |
(...skipping 19 matching lines...) Expand all Loading... |
78 ['resource_zips != []', { | 78 ['resource_zips != []', { |
79 'action': [ | 79 'action': [ |
80 '--resource-zips', '>(resource_zips)', | 80 '--resource-zips', '>(resource_zips)', |
81 ], | 81 ], |
82 'inputs': [ | 82 'inputs': [ |
83 '>@(resource_zips)', | 83 '>@(resource_zips)', |
84 ], | 84 ], |
85 }], | 85 }], |
86 ], | 86 ], |
87 } | 87 } |
OLD | NEW |