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

Unified Diff: build/android/package_resources_action.gypi

Issue 1348893002: Add app-as-shared-library flag in java_apk.gypi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « build/android/gyp/process_resources.py ('k') | build/java_apk.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/package_resources_action.gypi
diff --git a/build/android/package_resources_action.gypi b/build/android/package_resources_action.gypi
index eb608718951b25b89efec81054ccf6aa17863047..c3529b3496fe5ae795afce38261dc9f06179e0b7 100644
--- a/build/android/package_resources_action.gypi
+++ b/build/android/package_resources_action.gypi
@@ -18,6 +18,8 @@
# resource_zips - List of paths to resource zip files.
# shared_resources - Make a resource package that can be loaded by a different
# application at runtime to access the package's resources.
+# app_as_shared_library - Make a resource package that can be loaded as shared
+# library.
# extensions_to_not_compress - E.g.: 'pak,dat,bin'
# extra_inputs - List of extra action inputs.
{
@@ -26,6 +28,7 @@
'create_density_splits%': 0,
'resource_zips%': [],
'shared_resources%': 0,
+ 'app_as_shared_library%': 0,
'extensions_to_not_compress%': '',
'extra_inputs%': [],
'resource_packaged_apk_name': '<(apk_name)-resources.ap_',
@@ -60,6 +63,11 @@
'--shared-resources',
],
}],
+ ['app_as_shared_library == 1', {
+ 'action': [
+ '--app-as-shared-lib',
+ ],
+ }],
['asset_location != ""', {
'action': [
'--asset-dir', '<(asset_location)',
« no previous file with comments | « build/android/gyp/process_resources.py ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698