summaryrefslogtreecommitdiffstats
path: root/chrome/android/chrome_apk.gyp
diff options
context:
space:
mode:
authorjbudorick <jbudorick@chromium.org>2015-11-12 16:44:58 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-13 00:45:41 +0000
commitf667d3b3a1b953800bb5325c7b8d62775a1c5aeb (patch)
tree2e5615b25b452bc7ec6aa7e39076f8648ec305df /chrome/android/chrome_apk.gyp
parentf7e988ff06ac6ca527bc907410e1f6292534de89 (diff)
downloadchromium_src-f667d3b3a1b953800bb5325c7b8d62775a1c5aeb.zip
chromium_src-f667d3b3a1b953800bb5325c7b8d62775a1c5aeb.tar.gz
chromium_src-f667d3b3a1b953800bb5325c7b8d62775a1c5aeb.tar.bz2
[Android] Enable multidex for debug builds of ChromePublic.
This is a non-incremental implementation. It adds @MainDex to classes used by the renderer to keep them in the main dex, as it can't load secondary dexes when using the multidex support library (i.e., on K and below). BUG=272790 TBR=newt@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/1408163009 Cr-Commit-Position: refs/heads/master@{#359453}
Diffstat (limited to 'chrome/android/chrome_apk.gyp')
-rw-r--r--chrome/android/chrome_apk.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/android/chrome_apk.gyp b/chrome/android/chrome_apk.gyp
index e92491d..5f11ad8 100644
--- a/chrome/android/chrome_apk.gyp
+++ b/chrome/android/chrome_apk.gyp
@@ -200,6 +200,8 @@
'native_lib_target': 'libchrome_public',
'java_in_dir': 'java',
'resource_dir': '../../chrome/android/java/res_chromium',
+ 'enable_multidex': 1,
+ 'enable_multidex_configurations': ['Debug'],
'conditions': [
# Only attempt loading the library from the APK for 64 bit devices
# until the number of 32 bit devices which don't support this