Commit 597a5430 authored by amp's avatar amp Committed by Commit bot

Enable VR shell on Android builds

BUG=671349

Review-Url: https://codereview.chromium.org/2559873002
Cr-Commit-Position: refs/heads/master@{#437622}
parent f7bf1d6f
...@@ -62,8 +62,10 @@ declare_args() { ...@@ -62,8 +62,10 @@ declare_args() {
enable_supervised_users = !is_ios && !is_chromecast enable_supervised_users = !is_ios && !is_chromecast
# Enables vr shell. # Enables vr shell (enabled on same architectures as webvr).
enable_vr_shell = false # TODO(amp): Collapse webvr and vr shell build flags into a single vr flag.
enable_vr_shell =
is_android && (current_cpu == "arm" || current_cpu == "arm64")
# Enables vr shell UI development on local or remote page. # Enables vr shell UI development on local or remote page.
enable_vr_shell_ui_dev = false enable_vr_shell_ui_dev = false
......
...@@ -103,16 +103,8 @@ public class ChromeInstrumentationTestRunner extends BaseChromiumInstrumentation ...@@ -103,16 +103,8 @@ public class ChromeInstrumentationTestRunner extends BaseChromiumInstrumentation
ChromeRestriction.RESTRICTION_TYPE_DAYDREAM) ChromeRestriction.RESTRICTION_TYPE_DAYDREAM)
|| TextUtils.equals(restriction, || TextUtils.equals(restriction,
ChromeRestriction.RESTRICTION_TYPE_NON_DAYDREAM)) { ChromeRestriction.RESTRICTION_TYPE_NON_DAYDREAM)) {
boolean isDaydream = isDaydreamReady(); // TODO(crbug/671373): Re-enable vr instrumentation tests when they are safe.
if (TextUtils.equals(restriction, return true;
ChromeRestriction.RESTRICTION_TYPE_DAYDREAM)
&& !isDaydream) {
return true;
} else if (TextUtils.equals(restriction,
ChromeRestriction.RESTRICTION_TYPE_NON_DAYDREAM)
&& isDaydream) {
return true;
}
} }
return false; return false;
} }
......
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