| 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 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 split APKs. | 6 # signs and zipaligns split APKs. |
| 7 # | 7 # |
| 8 # Required variables: | 8 # Required variables: |
| 9 # apk_name - Base name of the apk. | 9 # apk_name - Base name of the apk. |
| 10 # Optional variables: | 10 # Optional variables: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 '--key-name=<(keystore_name)', | 38 '--key-name=<(keystore_name)', |
| 39 '--key-passwd=<(keystore_password)', | 39 '--key-passwd=<(keystore_password)', |
| 40 ], | 40 ], |
| 41 'conditions': [ | 41 'conditions': [ |
| 42 ['density_splits == 1', { | 42 ['density_splits == 1', { |
| 43 'message': 'Signing/aligning <(_target_name) density splits', | 43 'message': 'Signing/aligning <(_target_name) density splits', |
| 44 'inputs': [ | 44 'inputs': [ |
| 45 '<(resource_packaged_apk_path)-hdpi', | 45 '<(resource_packaged_apk_path)-hdpi', |
| 46 '<(resource_packaged_apk_path)-xhdpi', | 46 '<(resource_packaged_apk_path)-xhdpi', |
| 47 '<(resource_packaged_apk_path)-xxhdpi', | 47 '<(resource_packaged_apk_path)-xxhdpi', |
| 48 '<(resource_packaged_apk_path)-xxxhdpi', |
| 48 '<(resource_packaged_apk_path)-tvdpi', | 49 '<(resource_packaged_apk_path)-tvdpi', |
| 49 ], | 50 ], |
| 50 'outputs': [ | 51 'outputs': [ |
| 51 '<(base_output_path)-density-hdpi.apk', | 52 '<(base_output_path)-density-hdpi.apk', |
| 52 '<(base_output_path)-density-xhdpi.apk', | 53 '<(base_output_path)-density-xhdpi.apk', |
| 53 '<(base_output_path)-density-xxhdpi.apk', | 54 '<(base_output_path)-density-xxhdpi.apk', |
| 55 '<(base_output_path)-density-xxxhdpi.apk', |
| 54 '<(base_output_path)-density-tvdpi.apk', | 56 '<(base_output_path)-density-tvdpi.apk', |
| 55 ], | 57 ], |
| 56 'action': [ | 58 'action': [ |
| 57 '--densities=hdpi,xhdpi,xxhdpi,tvdpi', | 59 '--densities=hdpi,xhdpi,xxhdpi,xxxhdpi,tvdpi', |
| 58 ], | 60 ], |
| 59 }], | 61 }], |
| 60 # TODO(agrieve): Implement language splits | 62 # TODO(agrieve): Implement language splits |
| 61 ['language_splits == 1', { | 63 ['language_splits == 1', { |
| 62 'message': 'Signing/aligning <(_target_name) language splits', | 64 'message': 'Signing/aligning <(_target_name) language splits', |
| 63 'inputs': [ | 65 'inputs': [ |
| 64 ], | 66 ], |
| 65 'outputs': [ | 67 'outputs': [ |
| 66 ], | 68 ], |
| 67 }], | 69 }], |
| 68 ], | 70 ], |
| 69 } | 71 } |
| 70 | 72 |
| OLD | NEW |