Commit 49e1a683 authored by Ben Mason's avatar Ben Mason Committed by Commit Bot

Add use32bitAbi support to Trichrome Library.

Change-Id: I8ee6fc5e097c47b53fa8fd576ff60e97cbeca06c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429343
Commit-Queue: Ben Mason <benmason@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810530}
parent 10c80e02
......@@ -129,6 +129,7 @@ if (android_64bit_target_cpu) {
variables = trichrome_jinja_variables + [
"trichrome_version=$trichrome_64_32_version_code",
"manifest_package=$trichrome_library_package",
"use32bitAbi=",
]
}
jinja_template("trichrome_library_64_android_manifest") {
......@@ -137,6 +138,7 @@ if (android_64bit_target_cpu) {
variables = trichrome_jinja_variables + [
"trichrome_version=$trichrome_64_version_code",
"manifest_package=$trichrome_library_package",
"use32bitAbi=",
]
}
jinja_template("trichrome_library_32_android_manifest") {
......
......@@ -14,7 +14,8 @@
android:extractNativeLibs="false"
android:icon="@drawable/icon_webview"
android:label="Trichrome Library"
android:multiArch="true">
android:multiArch="true"
android:use32bitAbi="true">
<static-library android:name="$PACKAGE" android:version="$VERSION_NUMBER"/>
</application>
</manifest>
......@@ -21,7 +21,8 @@ Note: This is a jinja2 template, processed at build time into the final manifest
android:label="{{ application_label|default('Trichrome Library') }}"
android:icon="@drawable/icon_webview"
android:multiArch="true"
android:extractNativeLibs="false">
android:extractNativeLibs="false"
{{use32bitAbi|default('android:use32bitAbi="true"')}}>
<static-library android:name="{{ trichrome_library }}" android:version="{{ trichrome_version }}" />
</application>
......
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