Commit 344c77a9 authored by Piotr Bialecki's avatar Piotr Bialecki Committed by Commit Bot

Rename enable_arcore jinja variable to include_arcore_manifest_flag

This flag will be set appropriately depending on the context for
which the manifest is generated (bundle vs APK).

This CL maintains current behavior.

Change-Id: I543e09d07e2bea4769e2d4a71663b10b140c01c6
Reviewed-on: https://chromium-review.googlesource.com/c/1394864
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: default avataragrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619743}
parent d39a3058
...@@ -31,8 +31,8 @@ declare_args() { ...@@ -31,8 +31,8 @@ declare_args() {
default_chrome_public_jinja_variables = [ default_chrome_public_jinja_variables = [
"channel=$android_channel", "channel=$android_channel",
"enable_arcore=$enable_arcore",
"enable_vr=$enable_vr", "enable_vr=$enable_vr",
"include_arcore_manifest_flag=$enable_arcore",
] ]
if (android_64bit_browser) { if (android_64bit_browser) {
......
...@@ -165,7 +165,7 @@ by a child template that "extends" this file. ...@@ -165,7 +165,7 @@ by a child template that "extends" this file.
<meta-data android:name="android.content.APP_RESTRICTIONS" <meta-data android:name="android.content.APP_RESTRICTIONS"
android:resource="@xml/app_restrictions"/> android:resource="@xml/app_restrictions"/>
{% if enable_arcore %} {% if include_arcore_manifest_flag == 'true' %}
<!-- ARCore APK integration --> <!-- ARCore APK integration -->
<!-- This tag indicates that this application optionally uses ARCore. --> <!-- This tag indicates that this application optionally uses ARCore. -->
<meta-data android:name="com.google.ar.core" android:value="optional" /> <meta-data android:name="com.google.ar.core" android:value="optional" />
......
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