| 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 Java in a consistent manner. | 6 # to build Java 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_java', | 10 # 'target_name': 'my-package_java', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 # integer IDs) should be generated, e.g. org.chromium.content. | 40 # integer IDs) should be generated, e.g. org.chromium.content. |
| 41 # R_package_relpath - Same as R_package, but replace each '.' with '/'. | 41 # R_package_relpath - Same as R_package, but replace each '.' with '/'. |
| 42 # java_strings_grd - The name of the grd file from which to generate localized | 42 # java_strings_grd - The name of the grd file from which to generate localized |
| 43 # strings.xml files, if any. | 43 # strings.xml files, if any. |
| 44 # res_extra_dirs - A list of extra directories containing Android resources. | 44 # res_extra_dirs - A list of extra directories containing Android resources. |
| 45 # These directories may be generated at build time. | 45 # These directories may be generated at build time. |
| 46 # res_extra_files - A list of the files in res_extra_dirs. | 46 # res_extra_files - A list of the files in res_extra_dirs. |
| 47 | 47 |
| 48 { | 48 { |
| 49 'dependencies': [ | 49 'dependencies': [ |
| 50 '<(DEPTH)/build/build_output_dirs_android.gyp:build_output_dirs' | 50 '<(DEPTH)/build/android/setup.gyp:build_output_dirs' |
| 51 ], | 51 ], |
| 52 'variables': { | 52 'variables': { |
| 53 'android_jar': '<(android_sdk)/android.jar', | 53 'android_jar': '<(android_sdk)/android.jar', |
| 54 'input_jars_paths': [ '<(android_jar)' ], | 54 'input_jars_paths': [ '<(android_jar)' ], |
| 55 'additional_src_dirs': [], | 55 'additional_src_dirs': [], |
| 56 'javac_includes': [], | 56 'javac_includes': [], |
| 57 'jar_name': '<(_target_name).jar', | 57 'jar_name': '<(_target_name).jar', |
| 58 'jar_path': '<(PRODUCT_DIR)/lib.java/<(jar_name)', | 58 'jar_path': '<(PRODUCT_DIR)/lib.java/<(jar_name)', |
| 59 'jar_excluded_classes': [ '*/R.class', '*/R##*.class' ], | 59 'jar_excluded_classes': [ '*/R.class', '*/R##*.class' ], |
| 60 'additional_input_paths': [], | 60 'additional_input_paths': [], |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 246 |
| 247 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja
. | 247 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja
. |
| 248 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', | 248 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', |
| 249 | 249 |
| 250 '<(jar_path)', | 250 '<(jar_path)', |
| 251 ] | 251 ] |
| 252 }, | 252 }, |
| 253 | 253 |
| 254 ], | 254 ], |
| 255 } | 255 } |
| OLD | NEW |