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 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 '--android-sdk', '<(android_sdk)', | 1006 '--android-sdk', '<(android_sdk)', |
1007 '--android-sdk-tools', '<(android_sdk_tools)', | 1007 '--android-sdk-tools', '<(android_sdk_tools)', |
1008 '--android-sdk-jar', '<(android_sdk_jar)', | 1008 '--android-sdk-jar', '<(android_sdk_jar)', |
1009 | 1009 |
1010 '--input-jars-paths=>(proguard_input_jar_paths)', | 1010 '--input-jars-paths=>(proguard_input_jar_paths)', |
1011 '--proguard-configs=>(proguard_flags_paths)', | 1011 '--proguard-configs=>(proguard_flags_paths)', |
1012 | 1012 |
1013 '--test-jar-path', '<(test_jar_path)', | 1013 '--test-jar-path', '<(test_jar_path)', |
1014 '--obfuscated-jar-path', '<(obfuscated_jar_path)', | 1014 '--obfuscated-jar-path', '<(obfuscated_jar_path)', |
1015 | 1015 |
1016 '--proguard-jar-path', '<(android_sdk_root)/tools/proguard/lib/proguard.
jar', | 1016 '--proguard-jar-path', '<(DEPTH)/third_party/proguard/lib/proguard.jar', |
1017 | 1017 |
1018 '--stamp', '<(obfuscate_stamp)', | 1018 '--stamp', '<(obfuscate_stamp)', |
1019 | 1019 |
1020 '>@(additional_obfuscate_options)', | 1020 '>@(additional_obfuscate_options)', |
1021 ], | 1021 ], |
1022 }, | 1022 }, |
1023 { | 1023 { |
1024 'action_name': 'dex_<(_target_name)', | 1024 'action_name': 'dex_<(_target_name)', |
1025 'variables': { | 1025 'variables': { |
1026 'dex_additional_options': [], | 1026 'dex_additional_options': [], |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1110 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1110 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1111 }, { | 1111 }, { |
1112 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1112 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1113 }], | 1113 }], |
1114 ], | 1114 ], |
1115 }, | 1115 }, |
1116 'includes': ['android/apkbuilder_action.gypi'], | 1116 'includes': ['android/apkbuilder_action.gypi'], |
1117 }, | 1117 }, |
1118 ], | 1118 ], |
1119 } | 1119 } |
OLD | NEW |