Index: build/config/android/internal_rules.gni |
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni |
index 056852783b9d2b05d7fcb8b28ee0638ca1fdf21b..d33c2003308a6d0b09917047a1a8266413ef1b65 100644 |
--- a/build/config/android/internal_rules.gni |
+++ b/build/config/android/internal_rules.gni |
@@ -814,6 +814,9 @@ template("java_library_impl") { |
} |
group(target_name) { |
+ if (defined(invoker.visibility)) { |
+ visibility = invoker.visibility |
+ } |
deps = _final_deps |
datadeps = _final_datadeps |
} |