Commit af912f69 authored by Tibor Goldschwendt's avatar Tibor Goldschwendt Committed by Commit Bot

[bundles] Disable language splits on prod

Change-Id: I05f3f73c8337bd2bfc07e420cdafccaf1bb04370
Reviewed-on: https://chromium-review.googlesource.com/c/1338408Reviewed-by: default avatarDavid Turner <digit@chromium.org>
Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608847}
parent 0dc9b116
...@@ -1858,13 +1858,14 @@ android_app_bundle("chrome_public_bundle") { ...@@ -1858,13 +1858,14 @@ android_app_bundle("chrome_public_bundle") {
# Signing is very slow, only do that for official builds. # Signing is very slow, only do that for official builds.
sign_bundle = is_official_build sign_bundle = is_official_build
enable_language_splits = true enable_language_splits = enable_chrome_language_splits
} }
android_app_bundle("chrome_modern_public_bundle") { android_app_bundle("chrome_modern_public_bundle") {
bundle_name = "ChromeModernPublic" bundle_name = "ChromeModernPublic"
base_module_target = ":chrome_modern_public_base_module" base_module_target = ":chrome_modern_public_base_module"
proguard_enabled = !is_java_debug proguard_enabled = !is_java_debug
enable_language_splits = enable_chrome_language_splits
if (modularize_vr) { if (modularize_vr) {
extra_modules = [ extra_modules = [
{ {
...@@ -1885,6 +1886,7 @@ android_app_bundle("monochrome_public_bundle") { ...@@ -1885,6 +1886,7 @@ android_app_bundle("monochrome_public_bundle") {
} }
proguard_android_sdk_dep = webview_framework_dep proguard_android_sdk_dep = webview_framework_dep
} }
enable_language_splits = enable_chrome_language_splits
if (modularize_ar) { if (modularize_ar) {
extra_modules = [ extra_modules = [
{ {
......
...@@ -19,6 +19,9 @@ declare_args() { ...@@ -19,6 +19,9 @@ declare_args() {
# Experimental only. Causes .dex files to be store in the APK uncompressed. # Experimental only. Causes .dex files to be store in the APK uncompressed.
# Only affects monochrome_public_apk and trichrome_chrome_apk. # Only affects monochrome_public_apk and trichrome_chrome_apk.
use_uncompressed_dex = false use_uncompressed_dex = false
# Enable language splits in the Chrome bundles.
enable_chrome_language_splits = android_channel == "default"
} }
default_chrome_public_jinja_variables = [ default_chrome_public_jinja_variables = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment