OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Do not add any imports to non-//build directories here. | 5 # Do not add any imports to non-//build directories here. |
6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. | 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/internal_rules.gni") | 8 import("//build/config/android/internal_rules.gni") |
9 import("//build/config/compiler/compiler.gni") | 9 import("//build/config/compiler/compiler.gni") |
10 import("//build/config/dcheck_always_on.gni") | 10 import("//build/config/dcheck_always_on.gni") |
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 } | 1153 } |
1154 } | 1154 } |
1155 | 1155 |
1156 # Declare a java library target for a prebuilt jar | 1156 # Declare a java library target for a prebuilt jar |
1157 # | 1157 # |
1158 # Variables | 1158 # Variables |
1159 # deps: Specifies the dependencies of this target. Java targets in this list | 1159 # deps: Specifies the dependencies of this target. Java targets in this list |
1160 # will be added to the javac classpath. | 1160 # will be added to the javac classpath. |
1161 # jar_path: Path to the prebuilt jar. | 1161 # jar_path: Path to the prebuilt jar. |
1162 # jar_dep: Target that builds jar_path (optional). | 1162 # jar_dep: Target that builds jar_path (optional). |
| 1163 # main_class: When specified, a wrapper script is created within |
| 1164 # $root_build_dir/bin to launch the binary with the given class as the |
| 1165 # entrypoint. |
1163 # output_name: File name for the output .jar (not including extension). | 1166 # output_name: File name for the output .jar (not including extension). |
1164 # Defaults to the input .jar file name. | 1167 # Defaults to the input .jar file name. |
1165 # proguard_preprocess: If true, proguard preprocessing will be run. This can | 1168 # proguard_preprocess: If true, proguard preprocessing will be run. This can |
1166 # be used to remove unwanted parts of the library. | 1169 # be used to remove unwanted parts of the library. |
1167 # proguard_preprocess_config: Path to the proguard config for preprocessing. | 1170 # proguard_preprocess_config: Path to the proguard config for preprocessing. |
1168 # proguard_configs: List of proguard configs to use in final apk step for | 1171 # proguard_configs: List of proguard configs to use in final apk step for |
1169 # any apk that depends on this library. | 1172 # any apk that depends on this library. |
1170 # supports_android: If true, Android targets (android_library, android_apk) | 1173 # supports_android: If true, Android targets (android_library, android_apk) |
1171 # may depend on this target. Note: if true, this target must only use the | 1174 # may depend on this target. Note: if true, this target must only use the |
1172 # subset of Java available on Android. | 1175 # subset of Java available on Android. |
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2761 # because in practice they seem to contain classes required to be in the | 2764 # because in practice they seem to contain classes required to be in the |
2762 # classpath. | 2765 # classpath. |
2763 deps += _subjar_targets | 2766 deps += _subjar_targets |
2764 } | 2767 } |
2765 if (defined(_res_target_name)) { | 2768 if (defined(_res_target_name)) { |
2766 deps += [ ":$_res_target_name" ] | 2769 deps += [ ":$_res_target_name" ] |
2767 } | 2770 } |
2768 } | 2771 } |
2769 } | 2772 } |
2770 } | 2773 } |
OLD | NEW |