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

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
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 9c9287d9bf9c59ea6e74203026415723b556e272..c6f8a11b022f175a15070e19b5cd4167412c5a8c 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 generate resources and R.java files compatible
+# with the shared library resources mechanism.
#
# 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 = invokershared_resources.
cjhopman 2014/11/06 21:45:56 s/invokershared_resources\./invoker.shared_resourc
mkosiba (inactive) 2014/11/06 22:11:37 yeath, search/replace fail...
+ }
}
group(target_name) {

Powered by Google App Engine
This is Rietveld 408576698