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

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

Issue 708883003: Add support for shared library resources to java_apk build rules. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « build/config/android/internal_rules.gni ('k') | build/java_apk.gypi » ('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 9c9287d9bf9c59ea6e74203026415723b556e272..d28c4814531ffe2e742a605a10de70fbddd468fc 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -477,6 +477,8 @@ template("jinja_template_resources") {
# that the resources are v14-compliant (see
# build/android/gyp/generate_v14_compatible_resources.py). Defaults to
# false.
+# shared_resources: If true make a resource package that can be loaded by a
+# different application at runtime to access the package's resources.
#
# Example
# android_resources("foo_resources") {
@@ -518,6 +520,10 @@ template("android_resources") {
if (defined(invoker.v14_verify_only)) {
v14_verify_only = invoker.v14_verify_only
}
+
+ if (defined(invoker.shared_resources)) {
+ shared_resources = invoker.shared_resources
+ }
}
group(target_name) {
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698