Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: build/config/android/rules.gni

Issue 2302533002: 🔏 Rename proguard_config -> proguard_preprocess_config (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/internal_rules.gni") 6 import("//build/config/android/internal_rules.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 9
10 assert(is_android) 10 assert(is_android)
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 # chromium_code: If true, extra analysis warning/errors will be enabled. 1163 # chromium_code: If true, extra analysis warning/errors will be enabled.
1164 # enable_errorprone: If true, enables the errorprone compiler. 1164 # enable_errorprone: If true, enables the errorprone compiler.
1165 # enable_incremental_javac_override: Overrides the global 1165 # enable_incremental_javac_override: Overrides the global
1166 # enable_incremental_javac. 1166 # enable_incremental_javac.
1167 # 1167 #
1168 # jar_excluded_patterns: List of patterns of .class files to exclude from th e 1168 # jar_excluded_patterns: List of patterns of .class files to exclude from th e
1169 # final jar. 1169 # final jar.
1170 # 1170 #
1171 # proguard_preprocess: If true, proguard preprocessing will be run. This can 1171 # proguard_preprocess: If true, proguard preprocessing will be run. This can
1172 # be used to remove unwanted parts of the library. 1172 # be used to remove unwanted parts of the library.
1173 # proguard_config: Path to the proguard config for preprocessing. 1173 # proguard_preprocess_config: Path to the proguard config for preprocessing.
1174 # 1174 #
1175 # supports_android: If true, Android targets (android_library, android_apk) 1175 # supports_android: If true, Android targets (android_library, android_apk)
1176 # may depend on this target. Note: if true, this target must only use the 1176 # may depend on this target. Note: if true, this target must only use the
1177 # subset of Java available on Android. 1177 # subset of Java available on Android.
1178 # bypass_platform_checks: Disables checks about cross-platform (Java/Android ) 1178 # bypass_platform_checks: Disables checks about cross-platform (Java/Android )
1179 # dependencies for this target. This will allow depending on an 1179 # dependencies for this target. This will allow depending on an
1180 # android_library target, for example. 1180 # android_library target, for example.
1181 # 1181 #
1182 # additional_jar_files: Use to package additional files into the output jar. 1182 # additional_jar_files: Use to package additional files into the output jar.
1183 # Pass a list of length-2 lists with format 1183 # Pass a list of length-2 lists with format
(...skipping 28 matching lines...) Expand all
1212 1212
1213 # Declare a java library target for a prebuilt jar 1213 # Declare a java library target for a prebuilt jar
1214 # 1214 #
1215 # Variables 1215 # Variables
1216 # deps: Specifies the dependencies of this target. Java targets in this list 1216 # deps: Specifies the dependencies of this target. Java targets in this list
1217 # will be added to the javac classpath. 1217 # will be added to the javac classpath.
1218 # jar_path: Path to the prebuilt jar. 1218 # jar_path: Path to the prebuilt jar.
1219 # jar_dep: Target that builds jar_path (optional). 1219 # jar_dep: Target that builds jar_path (optional).
1220 # proguard_preprocess: If true, proguard preprocessing will be run. This can 1220 # proguard_preprocess: If true, proguard preprocessing will be run. This can
1221 # be used to remove unwanted parts of the library. 1221 # be used to remove unwanted parts of the library.
1222 # proguard_config: Path to the proguard config for preprocessing. 1222 # proguard_preprocess_config: Path to the proguard config for preprocessing.
1223 # supports_android: If true, Android targets (android_library, android_apk) 1223 # supports_android: If true, Android targets (android_library, android_apk)
1224 # may depend on this target. Note: if true, this target must only use the 1224 # may depend on this target. Note: if true, this target must only use the
1225 # subset of Java available on Android. 1225 # subset of Java available on Android.
1226 # 1226 #
1227 # Example 1227 # Example
1228 # java_prebuilt("foo_java") { 1228 # java_prebuilt("foo_java") {
1229 # jar_path = "foo.jar" 1229 # jar_path = "foo.jar"
1230 # deps = [ 1230 # deps = [
1231 # ":foo_resources", 1231 # ":foo_resources",
1232 # ":bar_java" 1232 # ":bar_java"
(...skipping 29 matching lines...) Expand all
1262 # chromium_code: If true, extra analysis warning/errors will be enabled. 1262 # chromium_code: If true, extra analysis warning/errors will be enabled.
1263 # enable_errorprone: If true, enables the errorprone compiler. 1263 # enable_errorprone: If true, enables the errorprone compiler.
1264 # enable_incremental_javac_override: Overrides the global 1264 # enable_incremental_javac_override: Overrides the global
1265 # enable_incremental_javac. 1265 # enable_incremental_javac.
1266 # 1266 #
1267 # jar_excluded_patterns: List of patterns of .class files to exclude from th e 1267 # jar_excluded_patterns: List of patterns of .class files to exclude from th e
1268 # final jar. 1268 # final jar.
1269 # 1269 #
1270 # proguard_preprocess: If true, proguard preprocessing will be run. This can 1270 # proguard_preprocess: If true, proguard preprocessing will be run. This can
1271 # be used to remove unwanted parts of the library. 1271 # be used to remove unwanted parts of the library.
1272 # proguard_config: Path to the proguard config for preprocessing. 1272 # proguard_preprocess_config: Path to the proguard config for preprocessing.
1273 # 1273 #
1274 # dex_path: If set, the resulting .dex.jar file will be placed under this 1274 # dex_path: If set, the resulting .dex.jar file will be placed under this
1275 # path. 1275 # path.
1276 # 1276 #
1277 # alternative_android_sdk_ijar: if set, the given android_sdk_ijar file 1277 # alternative_android_sdk_ijar: if set, the given android_sdk_ijar file
1278 # replaces the default android_sdk_ijar. 1278 # replaces the default android_sdk_ijar.
1279 # 1279 #
1280 # alternative_android_sdk_ijar_dep: the target that generates 1280 # alternative_android_sdk_ijar_dep: the target that generates
1281 # alternative_android_sdk_ijar, must be set if alternative_android_sdk_ij ar 1281 # alternative_android_sdk_ijar, must be set if alternative_android_sdk_ij ar
1282 # is used. 1282 # is used.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 # This target creates an Android library containing java code and Android 1351 # This target creates an Android library containing java code and Android
1352 # resources. 1352 # resources.
1353 # 1353 #
1354 # Variables 1354 # Variables
1355 # deps: Specifies the dependencies of this target. Java targets in this list 1355 # deps: Specifies the dependencies of this target. Java targets in this list
1356 # will be added to the javac classpath. Android resources in dependencies 1356 # will be added to the javac classpath. Android resources in dependencies
1357 # will be used when building this library. 1357 # will be used when building this library.
1358 # jar_path: Path to the prebuilt jar. 1358 # jar_path: Path to the prebuilt jar.
1359 # proguard_preprocess: If true, proguard preprocessing will be run. This can 1359 # proguard_preprocess: If true, proguard preprocessing will be run. This can
1360 # be used to remove unwanted parts of the library. 1360 # be used to remove unwanted parts of the library.
1361 # proguard_config: Path to the proguard config for preprocessing. 1361 # proguard_preprocess_config: Path to the proguard config for preprocessing.
1362 # 1362 #
1363 # Example 1363 # Example
1364 # android_java_prebuilt("foo_java") { 1364 # android_java_prebuilt("foo_java") {
1365 # jar_path = "foo.jar" 1365 # jar_path = "foo.jar"
1366 # deps = [ 1366 # deps = [
1367 # ":foo_resources", 1367 # ":foo_resources",
1368 # ":bar_java" 1368 # ":bar_java"
1369 # ] 1369 # ]
1370 # } 1370 # }
1371 template("android_java_prebuilt") { 1371 template("android_java_prebuilt") {
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
2694 supports_android = true 2694 supports_android = true
2695 jar_path = "${_output_path}/$jar" 2695 jar_path = "${_output_path}/$jar"
2696 } 2696 }
2697 } 2697 }
2698 2698
2699 java_group(target_name) { 2699 java_group(target_name) {
2700 deps = _resource_targets + _jar_targets 2700 deps = _resource_targets + _jar_targets
2701 } 2701 }
2702 } 2702 }
2703 } 2703 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698