| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 ], | 65 ], |
| 66 }], | 66 }], |
| 67 ['create_density_splits == 1', { | 67 ['create_density_splits == 1', { |
| 68 'action': [ | 68 'action': [ |
| 69 '--create-density-splits', | 69 '--create-density-splits', |
| 70 ], | 70 ], |
| 71 'outputs': [ | 71 'outputs': [ |
| 72 '<(resource_packaged_apk_path)-hdpi', | 72 '<(resource_packaged_apk_path)-hdpi', |
| 73 '<(resource_packaged_apk_path)-xhdpi', | 73 '<(resource_packaged_apk_path)-xhdpi', |
| 74 '<(resource_packaged_apk_path)-xxhdpi', | 74 '<(resource_packaged_apk_path)-xxhdpi', |
| 75 '<(resource_packaged_apk_path)-xxxhdpi', |
| 75 '<(resource_packaged_apk_path)-tvdpi', | 76 '<(resource_packaged_apk_path)-tvdpi', |
| 76 ], | 77 ], |
| 77 }], | 78 }], |
| 78 ['resource_zips != []', { | 79 ['resource_zips != []', { |
| 79 'action': [ | 80 'action': [ |
| 80 '--resource-zips', '>(resource_zips)', | 81 '--resource-zips', '>(resource_zips)', |
| 81 ], | 82 ], |
| 82 'inputs': [ | 83 'inputs': [ |
| 83 '>@(resource_zips)', | 84 '>@(resource_zips)', |
| 84 ], | 85 ], |
| 85 }], | 86 }], |
| 86 ], | 87 ], |
| 87 } | 88 } |
| OLD | NEW |