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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 | 799 |
800 '--configuration-name', '<(CONFIGURATION_NAME)', | 800 '--configuration-name', '<(CONFIGURATION_NAME)', |
801 | 801 |
802 '--android-sdk', '<(android_sdk)', | 802 '--android-sdk', '<(android_sdk)', |
803 '--android-sdk-tools', '<(android_sdk_tools)', | 803 '--android-sdk-tools', '<(android_sdk_tools)', |
804 '--android-sdk-jar', '<(android_sdk_jar)', | 804 '--android-sdk-jar', '<(android_sdk_jar)', |
805 | 805 |
806 '--input-jars-paths=>(proguard_input_jar_paths)', | 806 '--input-jars-paths=>(proguard_input_jar_paths)', |
807 '--proguard-configs=>(proguard_flags_paths)', | 807 '--proguard-configs=>(proguard_flags_paths)', |
808 | 808 |
809 | |
810 '--test-jar-path', '<(test_jar_path)', | 809 '--test-jar-path', '<(test_jar_path)', |
811 '--obfuscated-jar-path', '<(obfuscated_jar_path)', | 810 '--obfuscated-jar-path', '<(obfuscated_jar_path)', |
812 | 811 |
813 '--proguard-jar-path', '<(android_sdk_root)/tools/proguard/lib/proguard.
jar', | 812 '--proguard-jar-path', '<(android_sdk_root)/tools/proguard/lib/proguard.
jar', |
814 | 813 |
815 '--stamp', '<(obfuscate_stamp)', | 814 '--stamp', '<(obfuscate_stamp)', |
816 | 815 |
817 '>@(additional_obfuscate_options)', | 816 '>@(additional_obfuscate_options)', |
818 ], | 817 ], |
819 }, | 818 }, |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 953 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
955 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 954 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
956 | 955 |
957 '-Dbasedir=.', | 956 '-Dbasedir=.', |
958 '-buildfile', | 957 '-buildfile', |
959 '<(DEPTH)/build/android/ant/apk-package.xml', | 958 '<(DEPTH)/build/android/ant/apk-package.xml', |
960 ] | 959 ] |
961 }, | 960 }, |
962 ], | 961 ], |
963 } | 962 } |
OLD | NEW |