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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 'proguard_flags_paths': ['<(generated_proguard_file)'], | 79 'proguard_flags_paths': ['<(generated_proguard_file)'], |
80 'jar_name': 'chromium_apk_<(_target_name).jar', | 80 'jar_name': 'chromium_apk_<(_target_name).jar', |
81 'resource_dir%':'<(DEPTH)/build/android/ant/empty/res', | 81 'resource_dir%':'<(DEPTH)/build/android/ant/empty/res', |
82 'R_package%':'', | 82 'R_package%':'', |
83 'include_all_resources%': 0, | 83 'include_all_resources%': 0, |
84 'additional_R_text_files': [], | 84 'additional_R_text_files': [], |
85 'dependencies_res_zip_paths': [], | 85 'dependencies_res_zip_paths': [], |
86 'additional_res_packages': [], | 86 'additional_res_packages': [], |
87 'additional_bundled_libs%': [], | 87 'additional_bundled_libs%': [], |
88 'is_test_apk%': 0, | 88 'is_test_apk%': 0, |
89 'extensions_to_not_compress%': '', | 89 # Allow v8 snapshots to be loaded directly from the .apk. |
| 90 'extensions_to_not_compress%': 'bin', |
90 'resource_input_paths': [], | 91 'resource_input_paths': [], |
91 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)', | 92 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)', |
92 'asset_location%': '<(intermediate_dir)/assets', | 93 'asset_location%': '<(intermediate_dir)/assets', |
93 'codegen_stamp': '<(intermediate_dir)/codegen.stamp', | 94 'codegen_stamp': '<(intermediate_dir)/codegen.stamp', |
94 'package_input_paths': [], | 95 'package_input_paths': [], |
95 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json', | 96 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json', |
96 'additional_ordered_libraries_file': '<(intermediate_dir)/additional_native_
libraries.json', | 97 'additional_ordered_libraries_file': '<(intermediate_dir)/additional_native_
libraries.json', |
97 'native_libraries_template': '<(DEPTH)/base/android/java/templates/NativeLib
raries.template', | 98 'native_libraries_template': '<(DEPTH)/base/android/java/templates/NativeLib
raries.template', |
98 'native_libraries_java_dir': '<(intermediate_dir)/native_libraries_java/', | 99 'native_libraries_java_dir': '<(intermediate_dir)/native_libraries_java/', |
99 'native_libraries_java_file': '<(native_libraries_java_dir)/NativeLibraries.
java', | 100 'native_libraries_java_file': '<(native_libraries_java_dir)/NativeLibraries.
java', |
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 'native_libs_dir': '<(apk_package_native_libs_dir)', | 989 'native_libs_dir': '<(apk_package_native_libs_dir)', |
989 }, { | 990 }, { |
990 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 991 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
991 }], | 992 }], |
992 ], | 993 ], |
993 }, | 994 }, |
994 'includes': ['android/apkbuilder_action.gypi'], | 995 'includes': ['android/apkbuilder_action.gypi'], |
995 }, | 996 }, |
996 ], | 997 ], |
997 } | 998 } |
OLD | NEW |