Index: build/config/features.gni |
diff --git a/build/config/features.gni b/build/config/features.gni |
index 8154154c3d8ea147a5e8aa6d4116d4ac09920321..ee7441a98b33f1b0e72b9a6a34795c76086439eb 100644 |
--- a/build/config/features.gni |
+++ b/build/config/features.gni |
@@ -82,7 +82,8 @@ |
# Still requires command line flag to access API |
# TODO(bshe): Enable for other architecture too. Currently we only support arm |
# and arm64. |
- enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") |
+ enable_webvr = is_android && is_component_build && |
+ (current_cpu == "arm" || current_cpu == "arm64") |
} |
# Additional dependent variables ----------------------------------------------- |