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

Unified Diff: base/android/java/templates/NativeLibraries.template

Issue 334413006: Add support for uncompress library in APK to the build system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | build/android/finalize_apk_action.gypi » ('j') | build/android/gyp/finalize_apk.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/templates/NativeLibraries.template
diff --git a/base/android/java/templates/NativeLibraries.template b/base/android/java/templates/NativeLibraries.template
index da375c678be0e69c571c7709b79ffb2a415783c7..7b70a87ed8b0d567ecd49790ec225e732a35bf36 100644
--- a/base/android/java/templates/NativeLibraries.template
+++ b/base/android/java/templates/NativeLibraries.template
@@ -41,6 +41,13 @@ public class NativeLibraries {
* how the component build is supported on Android without modifying
* the sources of each and every Chromium-based target.
*/
+#if defined(ENABLE_CHROMIUM_LINKER_LIBRARY_IN_ZIP_FILE)
+#if !defined(ENABLE_CHROMIUM_LINKER)
+// Always enable the chromium linker if the library is in the zip file.
+#define ENABLE_CHROMIUM_LINKER 1
rmcilroy 2014/06/19 09:46:12 I really think this should be an error rather than
Anton 2014/06/19 13:39:45 Made it an error to have both.
+#endif
+#endif
+
// Set to true to enable the use of the Chromium Linker.
#if defined(ENABLE_CHROMIUM_LINKER)
public static boolean USE_LINKER = true;
@@ -48,6 +55,12 @@ public class NativeLibraries {
public static boolean USE_LINKER = false;
#endif
+#if defined(ENABLE_CHROMIUM_LINKER_LIBRARY_IN_ZIP_FILE)
+ public static boolean USE_LIBRARY_IN_ZIP_FILE = true;
+#else
+ public static boolean USE_LIBRARY_IN_ZIP_FILE = false;
+#endif
+
#if defined(ENABLE_CHROMIUM_LINKER_TESTS)
public static boolean ENABLE_LINKER_TESTS = true;
#else
« no previous file with comments | « no previous file | build/android/finalize_apk_action.gypi » ('j') | build/android/gyp/finalize_apk.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698