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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 '>(inputs_list_file)', | 761 '>(inputs_list_file)', |
762 ], | 762 ], |
763 'outputs': [ | 763 'outputs': [ |
764 '<(resource_zip_path)', | 764 '<(resource_zip_path)', |
765 '<(generated_proguard_file)', | 765 '<(generated_proguard_file)', |
766 '<(codegen_stamp)', | 766 '<(codegen_stamp)', |
767 ], | 767 ], |
768 'action': [ | 768 'action': [ |
769 'python', '<(DEPTH)/build/android/gyp/process_resources.py', | 769 'python', '<(DEPTH)/build/android/gyp/process_resources.py', |
770 '--android-sdk', '<(android_sdk)', | 770 '--android-sdk', '<(android_sdk)', |
771 '--android-sdk-tools', '<(android_sdk_tools)', | 771 '--aapt-path', '<(android_aapt_path)', |
772 | 772 |
773 '--android-manifest', '<(android_manifest_path)', | 773 '--android-manifest', '<(android_manifest_path)', |
774 '--dependencies-res-zips', '>(dependencies_res_zip_paths)', | 774 '--dependencies-res-zips', '>(dependencies_res_zip_paths)', |
775 | 775 |
776 '--extra-res-packages', '>(additional_res_packages)', | 776 '--extra-res-packages', '>(additional_res_packages)', |
777 '--extra-r-text-files', '>(additional_R_text_files)', | 777 '--extra-r-text-files', '>(additional_R_text_files)', |
778 | 778 |
779 '--proguard-file', '<(generated_proguard_file)', | 779 '--proguard-file', '<(generated_proguard_file)', |
780 | 780 |
781 '--resource-dirs', '<(resource_dir)', | 781 '--resource-dirs', '<(resource_dir)', |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1019 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1020 }, { | 1020 }, { |
1021 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1021 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1022 }], | 1022 }], |
1023 ], | 1023 ], |
1024 }, | 1024 }, |
1025 'includes': ['android/apkbuilder_action.gypi'], | 1025 'includes': ['android/apkbuilder_action.gypi'], |
1026 }, | 1026 }, |
1027 ], | 1027 ], |
1028 } | 1028 } |
OLD | NEW |