| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 'is_test_apk%': 0, | 74 'is_test_apk%': 0, |
| 75 'java_strings_grd%': '', | 75 'java_strings_grd%': '', |
| 76 'library_manifest_paths' : [], | 76 'library_manifest_paths' : [], |
| 77 'resource_input_paths': [], | 77 'resource_input_paths': [], |
| 78 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)', | 78 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)', |
| 79 'asset_location%': '<(intermediate_dir)/assets', | 79 'asset_location%': '<(intermediate_dir)/assets', |
| 80 'codegen_stamp': '<(intermediate_dir)/codegen.stamp', | 80 'codegen_stamp': '<(intermediate_dir)/codegen.stamp', |
| 81 'compile_input_paths': [], | 81 'compile_input_paths': [], |
| 82 'package_input_paths': [], | 82 'package_input_paths': [], |
| 83 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json', | 83 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json', |
| 84 # TODO(cjhopman): build/ shouldn't refer to content/. The libraryloader and | 84 'native_libraries_template': '<(DEPTH)/base/android/java/templates/NativeLib
raries.template', |
| 85 # nativelibraries template should be moved out of content/ (to base/?). | |
| 86 # http://crbug.com/225101 | |
| 87 'native_libraries_template': '<(DEPTH)/content/public/android/java/templates
/NativeLibraries.template', | |
| 88 'native_libraries_java_dir': '<(intermediate_dir)/native_libraries_java/', | 85 'native_libraries_java_dir': '<(intermediate_dir)/native_libraries_java/', |
| 89 'native_libraries_java_file': '<(native_libraries_java_dir)/NativeLibraries.
java', | 86 'native_libraries_java_file': '<(native_libraries_java_dir)/NativeLibraries.
java', |
| 90 'native_libraries_java_stamp': '<(intermediate_dir)/native_libraries_java.st
amp', | 87 'native_libraries_java_stamp': '<(intermediate_dir)/native_libraries_java.st
amp', |
| 91 'native_libraries_template_data_dir': '<(intermediate_dir)/native_libraries/
', | 88 'native_libraries_template_data_dir': '<(intermediate_dir)/native_libraries/
', |
| 92 'native_libraries_template_data_file': '<(native_libraries_template_data_dir
)/native_libraries_array.h', | 89 'native_libraries_template_data_file': '<(native_libraries_template_data_dir
)/native_libraries_array.h', |
| 93 'native_libraries_template_version_file': '<(native_libraries_template_data_
dir)/native_libraries_version.h', | 90 'native_libraries_template_version_file': '<(native_libraries_template_data_
dir)/native_libraries_version.h', |
| 94 'compile_stamp': '<(intermediate_dir)/compile.stamp', | 91 'compile_stamp': '<(intermediate_dir)/compile.stamp', |
| 95 'lint_stamp': '<(intermediate_dir)/lint.stamp', | 92 'lint_stamp': '<(intermediate_dir)/lint.stamp', |
| 96 'lint_result': '<(intermediate_dir)/lint_result.xml', | 93 'lint_result': '<(intermediate_dir)/lint_result.xml', |
| 97 'lint_config': '<(intermediate_dir)/lint_config.xml', | 94 'lint_config': '<(intermediate_dir)/lint_config.xml', |
| (...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 '<(DEPTH)/build/android/ant/apk-package.xml', | 767 '<(DEPTH)/build/android/ant/apk-package.xml', |
| 771 | 768 |
| 772 # Add list of inputs to the command line, so if inputs change | 769 # Add list of inputs to the command line, so if inputs change |
| 773 # (e.g. if a Java file is removed), the command will be re-run. | 770 # (e.g. if a Java file is removed), the command will be re-run. |
| 774 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. | 771 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. |
| 775 '-DTHIS_IS_IGNORED=>!(echo \'>(_inputs)\' | md5sum)', | 772 '-DTHIS_IS_IGNORED=>!(echo \'>(_inputs)\' | md5sum)', |
| 776 ] | 773 ] |
| 777 }, | 774 }, |
| 778 ], | 775 ], |
| 779 } | 776 } |
| OLD | NEW |