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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 # enable_errorprone: If true, enables the errorprone compiler. | 1108 # enable_errorprone: If true, enables the errorprone compiler. |
1109 # enable_incremental_javac_override: Overrides the global | 1109 # enable_incremental_javac_override: Overrides the global |
1110 # enable_incremental_javac. | 1110 # enable_incremental_javac. |
1111 # | 1111 # |
1112 # jar_excluded_patterns: List of patterns of .class files to exclude from th
e | 1112 # jar_excluded_patterns: List of patterns of .class files to exclude from th
e |
1113 # final jar. | 1113 # final jar. |
1114 # | 1114 # |
1115 # output_name: File name for the output .jar (not including extension). | 1115 # output_name: File name for the output .jar (not including extension). |
1116 # Defaults to the input .jar file name. | 1116 # Defaults to the input .jar file name. |
1117 # | 1117 # |
1118 # proguard_preprocess: If true, proguard preprocessing will be run. This can | |
1119 # be used to remove unwanted parts of the library. | |
1120 # proguard_preprocess_config: Path to the proguard config for preprocessing. | |
1121 # proguard_configs: List of proguard configs to use in final apk step for | 1118 # proguard_configs: List of proguard configs to use in final apk step for |
1122 # any apk that depends on this library. | 1119 # any apk that depends on this library. |
1123 # | 1120 # |
1124 # supports_android: If true, Android targets (android_library, android_apk) | 1121 # supports_android: If true, Android targets (android_library, android_apk) |
1125 # may depend on this target. Note: if true, this target must only use the | 1122 # may depend on this target. Note: if true, this target must only use the |
1126 # subset of Java available on Android. | 1123 # subset of Java available on Android. |
1127 # bypass_platform_checks: Disables checks about cross-platform (Java/Android
) | 1124 # bypass_platform_checks: Disables checks about cross-platform (Java/Android
) |
1128 # dependencies for this target. This will allow depending on an | 1125 # dependencies for this target. This will allow depending on an |
1129 # android_library target, for example. | 1126 # android_library target, for example. |
1130 # | 1127 # |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 # Variables | 1161 # Variables |
1165 # deps: Specifies the dependencies of this target. Java targets in this list | 1162 # deps: Specifies the dependencies of this target. Java targets in this list |
1166 # will be added to the javac classpath. | 1163 # will be added to the javac classpath. |
1167 # jar_path: Path to the prebuilt jar. | 1164 # jar_path: Path to the prebuilt jar. |
1168 # jar_dep: Target that builds jar_path (optional). | 1165 # jar_dep: Target that builds jar_path (optional). |
1169 # main_class: When specified, a wrapper script is created within | 1166 # main_class: When specified, a wrapper script is created within |
1170 # $root_build_dir/bin to launch the binary with the given class as the | 1167 # $root_build_dir/bin to launch the binary with the given class as the |
1171 # entrypoint. | 1168 # entrypoint. |
1172 # output_name: File name for the output .jar (not including extension). | 1169 # output_name: File name for the output .jar (not including extension). |
1173 # Defaults to the input .jar file name. | 1170 # Defaults to the input .jar file name. |
1174 # proguard_preprocess: If true, proguard preprocessing will be run. This can | |
1175 # be used to remove unwanted parts of the library. | |
1176 # proguard_preprocess_config: Path to the proguard config for preprocessing. | |
1177 # 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 |
1178 # any apk that depends on this library. | 1172 # any apk that depends on this library. |
1179 # supports_android: If true, Android targets (android_library, android_apk) | 1173 # supports_android: If true, Android targets (android_library, android_apk) |
1180 # 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 |
1181 # subset of Java available on Android. | 1175 # subset of Java available on Android. |
1182 # | 1176 # |
1183 # Example | 1177 # Example |
1184 # java_prebuilt("foo_java") { | 1178 # java_prebuilt("foo_java") { |
1185 # jar_path = "foo.jar" | 1179 # jar_path = "foo.jar" |
1186 # deps = [ | 1180 # deps = [ |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 # appear in deps. | 1290 # appear in deps. |
1297 # | 1291 # |
1298 # chromium_code: If true, extra analysis warning/errors will be enabled. | 1292 # chromium_code: If true, extra analysis warning/errors will be enabled. |
1299 # enable_errorprone: If true, enables the errorprone compiler. | 1293 # enable_errorprone: If true, enables the errorprone compiler. |
1300 # enable_incremental_javac_override: Overrides the global | 1294 # enable_incremental_javac_override: Overrides the global |
1301 # enable_incremental_javac. | 1295 # enable_incremental_javac. |
1302 # | 1296 # |
1303 # jar_excluded_patterns: List of patterns of .class files to exclude from th
e | 1297 # jar_excluded_patterns: List of patterns of .class files to exclude from th
e |
1304 # final jar. | 1298 # final jar. |
1305 # | 1299 # |
1306 # proguard_preprocess: If true, proguard preprocessing will be run. This can | |
1307 # be used to remove unwanted parts of the library. | |
1308 # proguard_preprocess_config: Path to the proguard config for preprocessing. | |
1309 # proguard_configs: List of proguard configs to use in final apk step for | 1300 # proguard_configs: List of proguard configs to use in final apk step for |
1310 # any apk that depends on this library. | 1301 # any apk that depends on this library. |
1311 # | 1302 # |
1312 # output_name: File name for the output .jar (not including extension). | 1303 # output_name: File name for the output .jar (not including extension). |
1313 # Defaults to the input .jar file name. | 1304 # Defaults to the input .jar file name. |
1314 # dex_path: If set, the resulting .dex.jar file will be placed under this | 1305 # dex_path: If set, the resulting .dex.jar file will be placed under this |
1315 # path. | 1306 # path. |
1316 # | 1307 # |
1317 # alternative_android_sdk_ijar: if set, the given android_sdk_ijar file | 1308 # alternative_android_sdk_ijar: if set, the given android_sdk_ijar file |
1318 # replaces the default android_sdk_ijar. | 1309 # replaces the default android_sdk_ijar. |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 # This target creates an Android library containing java code and Android | 1382 # This target creates an Android library containing java code and Android |
1392 # resources. | 1383 # resources. |
1393 # | 1384 # |
1394 # Variables | 1385 # Variables |
1395 # deps: Specifies the dependencies of this target. Java targets in this list | 1386 # deps: Specifies the dependencies of this target. Java targets in this list |
1396 # will be added to the javac classpath. Android resources in dependencies | 1387 # will be added to the javac classpath. Android resources in dependencies |
1397 # will be used when building this library. | 1388 # will be used when building this library. |
1398 # jar_path: Path to the prebuilt jar. | 1389 # jar_path: Path to the prebuilt jar. |
1399 # output_name: File name for the output .jar (not including extension). | 1390 # output_name: File name for the output .jar (not including extension). |
1400 # Defaults to the input .jar file name. | 1391 # Defaults to the input .jar file name. |
1401 # proguard_preprocess: If true, proguard preprocessing will be run. This can | |
1402 # be used to remove unwanted parts of the library. | |
1403 # proguard_preprocess_config: Path to the proguard config for preprocessing. | |
1404 # proguard_configs: List of proguard configs to use in final apk step for | 1392 # proguard_configs: List of proguard configs to use in final apk step for |
1405 # any apk that depends on this library. | 1393 # any apk that depends on this library. |
1406 # | 1394 # |
1407 # Example | 1395 # Example |
1408 # android_java_prebuilt("foo_java") { | 1396 # android_java_prebuilt("foo_java") { |
1409 # jar_path = "foo.jar" | 1397 # jar_path = "foo.jar" |
1410 # deps = [ | 1398 # deps = [ |
1411 # ":foo_resources", | 1399 # ":foo_resources", |
1412 # ":bar_java" | 1400 # ":bar_java" |
1413 # ] | 1401 # ] |
(...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2896 # because in practice they seem to contain classes required to be in the | 2884 # because in practice they seem to contain classes required to be in the |
2897 # classpath. | 2885 # classpath. |
2898 deps += _subjar_targets | 2886 deps += _subjar_targets |
2899 } | 2887 } |
2900 if (defined(_res_target_name)) { | 2888 if (defined(_res_target_name)) { |
2901 deps += [ ":$_res_target_name" ] | 2889 deps += [ ":$_res_target_name" ] |
2902 } | 2890 } |
2903 } | 2891 } |
2904 } | 2892 } |
2905 } | 2893 } |
OLD | NEW |