Chromium Code Reviews| 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..dc809bf40158954ca5fa485b9cda0dc6b6b626b2 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) |
|
rmcilroy
2014/06/25 17:25:19
nit - #if defined(ENABLE_CHROMIUM_LINKER_LIBRARY_I
Anton
2014/06/26 09:45:43
Done.
|
| +#if !defined(ENABLE_CHROMIUM_LINKER) |
| +#error "Must have ENABLE_CHROMIUM_LINKER to enable library in zip file" |
| +#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 |