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

Unified Diff: content/public/android/java/templates/NativeLibraries.template

Issue 23717023: Android: Add chrome-specific dynamic linker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove findbugs issues. Created 7 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
Index: content/public/android/java/templates/NativeLibraries.template
diff --git a/content/public/android/java/templates/NativeLibraries.template b/content/public/android/java/templates/NativeLibraries.template
index a54c2c742a1ee2974d9edff62517f65010d3740b..cd50081529d9b948d9ccb865cf6354df14328f56 100644
--- a/content/public/android/java/templates/NativeLibraries.template
+++ b/content/public/android/java/templates/NativeLibraries.template
@@ -5,6 +5,13 @@
package org.chromium.content.app;
public class NativeLibraries {
+ // Set to true to enable the use of the Chrome Linker.
+#if defined(ENABLE_CRAZY_LINKER)
+ public static boolean USE_CRAZY_LINKER = true;
bulach 2013/09/09 16:14:15 nit: final
digit1 2013/09/10 09:23:30 Ah, this is _really_ subtle, this can't get final
+#else
+ public static boolean USE_CRAZY_LINKER = false;
+#endif
+
// This is the list of native libraries to be loaded (in the correct order)
// by LibraryLoader.java. The content java library is compiled with no
// array defined, and then the build system creates a version of the file

Powered by Google App Engine
This is Rietveld 408576698