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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 '--android-sdk', '<(android_sdk)', | 976 '--android-sdk', '<(android_sdk)', |
977 '--android-sdk-tools', '<(android_sdk_tools)', | 977 '--android-sdk-tools', '<(android_sdk_tools)', |
978 '--android-sdk-jar', '<(android_sdk_jar)', | 978 '--android-sdk-jar', '<(android_sdk_jar)', |
979 | 979 |
980 '--input-jars-paths=>(proguard_input_jar_paths)', | 980 '--input-jars-paths=>(proguard_input_jar_paths)', |
981 '--proguard-configs=>(proguard_flags_paths)', | 981 '--proguard-configs=>(proguard_flags_paths)', |
982 | 982 |
983 '--test-jar-path', '<(test_jar_path)', | 983 '--test-jar-path', '<(test_jar_path)', |
984 '--obfuscated-jar-path', '<(obfuscated_jar_path)', | 984 '--obfuscated-jar-path', '<(obfuscated_jar_path)', |
985 | 985 |
986 '--proguard-jar-path', '<(android_sdk_root)/tools/proguard/lib/proguard.
jar', | 986 '--proguard-jar-path', '<(DEPTH)/third_party/proguard/lib/proguard.jar', |
987 | 987 |
988 '--stamp', '<(obfuscate_stamp)', | 988 '--stamp', '<(obfuscate_stamp)', |
989 | 989 |
990 '>@(additional_obfuscate_options)', | 990 '>@(additional_obfuscate_options)', |
991 ], | 991 ], |
992 }, | 992 }, |
993 { | 993 { |
994 'action_name': 'dex_<(_target_name)', | 994 'action_name': 'dex_<(_target_name)', |
995 'variables': { | 995 'variables': { |
996 'dex_input_paths': [ | 996 'dex_input_paths': [ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1054 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1055 }, { | 1055 }, { |
1056 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1056 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1057 }], | 1057 }], |
1058 ], | 1058 ], |
1059 }, | 1059 }, |
1060 'includes': ['android/apkbuilder_action.gypi'], | 1060 'includes': ['android/apkbuilder_action.gypi'], |
1061 }, | 1061 }, |
1062 ], | 1062 ], |
1063 } | 1063 } |
OLD | NEW |