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

Unified Diff: build/config/android/rules.gni

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « breakpad/BUILD.gn ('k') | build/secondary/testing/gmock/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index c656deaaeaef19cc7f93361ba5585079c31ad2ef..a3238aa6fe6281b92450e534c6e26f5b736b1626 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -69,13 +69,13 @@ template("generate_jni") {
group(target_name) {
deps = [ ":$foreach_target_name" ]
- direct_dependent_configs = [ ":jni_includes_${target_name}" ]
+ public_configs = [ ":jni_includes_${target_name}" ]
if (defined(invoker.deps)) {
deps += invoker.deps
}
- if (defined(invoker.forward_dependent_configs_from)) {
- forward_dependent_configs_from = invoker.forward_dependent_configs_from
+ if (defined(invoker.public_deps)) {
+ public_deps = invoker.public_deps
}
}
}
@@ -95,7 +95,7 @@ template("generate_jni") {
# jar_file: the path to the .jar. If not provided, will default to the sdk's
# android.jar
#
-# deps, forward_dependent_configs_from: As normal
+# deps, public_deps: As normal
#
# Example
# generate_jar_jni("foo_jni") {
@@ -163,10 +163,10 @@ template("generate_jar_jni") {
if (defined(invoker.deps)) {
deps += invoker.deps
}
- if (defined(invoker.forward_dependent_configs_from)) {
- forward_dependent_configs_from = invoker.forward_dependent_configs_from
+ if (defined(invoker.public_deps)) {
+ public_deps = invoker.public_deps
}
- direct_dependent_configs = [ ":jni_includes_${target_name}" ]
+ public_configs = [ ":jni_includes_${target_name}" ]
}
}
« no previous file with comments | « breakpad/BUILD.gn ('k') | build/secondary/testing/gmock/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698