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 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 '--android-sdk', '<(android_sdk)', | 988 '--android-sdk', '<(android_sdk)', |
989 '--android-sdk-tools', '<(android_sdk_tools)', | 989 '--android-sdk-tools', '<(android_sdk_tools)', |
990 '--android-sdk-jar', '<(android_sdk_jar)', | 990 '--android-sdk-jar', '<(android_sdk_jar)', |
991 | 991 |
992 '--input-jars-paths=>(proguard_input_jar_paths)', | 992 '--input-jars-paths=>(proguard_input_jar_paths)', |
993 '--proguard-configs=>(proguard_flags_paths)', | 993 '--proguard-configs=>(proguard_flags_paths)', |
994 | 994 |
995 '--test-jar-path', '<(test_jar_path)', | 995 '--test-jar-path', '<(test_jar_path)', |
996 '--obfuscated-jar-path', '<(obfuscated_jar_path)', | 996 '--obfuscated-jar-path', '<(obfuscated_jar_path)', |
997 | 997 |
998 '--proguard-jar-path', '<(android_sdk_root)/tools/proguard/lib/proguard.
jar', | 998 '--proguard-jar-path', '<(DEPTH)/third_party/proguard/lib/proguard.jar', |
999 | 999 |
1000 '--stamp', '<(obfuscate_stamp)', | 1000 '--stamp', '<(obfuscate_stamp)', |
1001 | 1001 |
1002 '>@(additional_obfuscate_options)', | 1002 '>@(additional_obfuscate_options)', |
1003 ], | 1003 ], |
1004 }, | 1004 }, |
1005 { | 1005 { |
1006 'action_name': 'dex_<(_target_name)', | 1006 'action_name': 'dex_<(_target_name)', |
1007 'variables': { | 1007 'variables': { |
1008 'dex_input_paths': [ | 1008 'dex_input_paths': [ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1066 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1067 }, { | 1067 }, { |
1068 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1068 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1069 }], | 1069 }], |
1070 ], | 1070 ], |
1071 }, | 1071 }, |
1072 'includes': ['android/apkbuilder_action.gypi'], | 1072 'includes': ['android/apkbuilder_action.gypi'], |
1073 }, | 1073 }, |
1074 ], | 1074 ], |
1075 } | 1075 } |
OLD | NEW |