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

Unified Diff: base/android/java/src/org/chromium/base/BaseChromiumApplication.java

Issue 1278573002: [Android] Add gyp support for multidex. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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 | « base/BUILD.gn ('k') | base/android/java/src/org/chromium/base/annotations/MainDex.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/BaseChromiumApplication.java
diff --git a/base/android/java/src/org/chromium/base/BaseChromiumApplication.java b/base/android/java/src/org/chromium/base/BaseChromiumApplication.java
index d7c7b05ea58d88808aef44d10e798448e74ec0ca..6d73c8fe63803f1b61821a8ba01fda9185f601b3 100644
--- a/base/android/java/src/org/chromium/base/BaseChromiumApplication.java
+++ b/base/android/java/src/org/chromium/base/BaseChromiumApplication.java
@@ -11,6 +11,8 @@ import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Window;
+import org.chromium.base.multidex.ChromiumMultiDex;
+
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@@ -20,6 +22,15 @@ import java.lang.reflect.Proxy;
* Basic application functionality that should be shared among all browser applications.
*/
public class BaseChromiumApplication extends Application {
+
+ private static final String TAG = "cr.base";
+
+ @Override
+ protected void attachBaseContext(Context base) {
+ super.attachBaseContext(base);
+ ChromiumMultiDex.install(this);
+ }
+
/**
* Interface to be implemented by listeners for window focus events.
*/
« no previous file with comments | « base/BUILD.gn ('k') | base/android/java/src/org/chromium/base/annotations/MainDex.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698