Index: base/android/java/templates/ChromiumBuildConfig.template |
diff --git a/base/android/java/templates/ChromiumMultiDex.template b/base/android/java/templates/ChromiumBuildConfig.template |
similarity index 64% |
rename from base/android/java/templates/ChromiumMultiDex.template |
rename to base/android/java/templates/ChromiumBuildConfig.template |
index 7e70701c76a944e37d742b16b8cd002adac18366..a8adb65adeff51942fa12281fcc00d16ab90df11 100644 |
--- a/base/android/java/templates/ChromiumMultiDex.template |
+++ b/base/android/java/templates/ChromiumBuildConfig.template |
@@ -2,19 +2,19 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-package org.chromium.base.multidex; |
+package org.chromium.base; |
/** |
- * Multidex configuration. Generated on a per-target basis. |
+ * Chromium build configuration. Generated on a per-target basis. |
*/ |
-class ChromiumMultiDex { |
+public class ChromiumBuildConfig { |
/** Whether multidex is enabled for this target. |
* |
* This has to be a function instead of a static final boolean s.t. the initial false value |
* doesn't get optimized into {@link ChromiumMultiDexInstaller} at base_java compile time. |
*/ |
- static boolean isMultidexEnabled() { |
+ public static boolean isMultidexEnabled() { |
#if defined(ENABLE_MULTIDEX) |
return true; |
#else |
@@ -22,4 +22,10 @@ class ChromiumMultiDex { |
#endif |
} |
+#if defined(NDEBUG) |
+ public static boolean sIsDebug = true; |
+#else |
+ public static boolean sIsDebug = false; |
+#endif |
+ |
} |