OLD | NEW |
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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 }, { | 657 }, { |
658 'action': [ | 658 'action': [ |
659 '--apk-path=<(incomplete_apk_path)', | 659 '--apk-path=<(incomplete_apk_path)', |
660 ], | 660 ], |
661 }], | 661 }], |
662 ['create_density_splits == 1', { | 662 ['create_density_splits == 1', { |
663 'inputs': [ | 663 'inputs': [ |
664 '<(final_apk_path_no_extension)-density-hdpi.apk', | 664 '<(final_apk_path_no_extension)-density-hdpi.apk', |
665 '<(final_apk_path_no_extension)-density-xhdpi.apk', | 665 '<(final_apk_path_no_extension)-density-xhdpi.apk', |
666 '<(final_apk_path_no_extension)-density-xxhdpi.apk', | 666 '<(final_apk_path_no_extension)-density-xxhdpi.apk', |
| 667 '<(final_apk_path_no_extension)-density-xxxhdpi.apk', |
667 '<(final_apk_path_no_extension)-density-tvdpi.apk', | 668 '<(final_apk_path_no_extension)-density-tvdpi.apk', |
668 ], | 669 ], |
669 'action': [ | 670 'action': [ |
670 '--split-apk-path=<(final_apk_path_no_extension)-density-hdpi.ap
k', | 671 '--split-apk-path=<(final_apk_path_no_extension)-density-hdpi.ap
k', |
671 '--split-apk-path=<(final_apk_path_no_extension)-density-xhdpi.a
pk', | 672 '--split-apk-path=<(final_apk_path_no_extension)-density-xhdpi.a
pk', |
672 '--split-apk-path=<(final_apk_path_no_extension)-density-xxhdpi.
apk', | 673 '--split-apk-path=<(final_apk_path_no_extension)-density-xxhdpi.
apk', |
| 674 '--split-apk-path=<(final_apk_path_no_extension)-density-xxxhdpi
.apk', |
673 '--split-apk-path=<(final_apk_path_no_extension)-density-tvdpi.a
pk', | 675 '--split-apk-path=<(final_apk_path_no_extension)-density-tvdpi.a
pk', |
674 ], | 676 ], |
675 }], | 677 }], |
676 ], | 678 ], |
677 }, | 679 }, |
678 ], | 680 ], |
679 }], | 681 }], |
680 ['create_density_splits == 1', { | 682 ['create_density_splits == 1', { |
681 'actions': [ | 683 'actions': [ |
682 { | 684 { |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1022 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1021 }, { | 1023 }, { |
1022 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1024 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1023 }], | 1025 }], |
1024 ], | 1026 ], |
1025 }, | 1027 }, |
1026 'includes': ['android/apkbuilder_action.gypi'], | 1028 'includes': ['android/apkbuilder_action.gypi'], |
1027 }, | 1029 }, |
1028 ], | 1030 ], |
1029 } | 1031 } |
OLD | NEW |