aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2018-10-30 19:26:42 -0400
committerJosh Matthews <josh@joshmatthews.net>2018-10-30 19:26:42 -0400
commit83fda753a816b3a18d136849b75978fa694cd988 (patch)
tree63710c0312211cd9646c6419f246961d0e938551 /python/servo/build_commands.py
parentcc0ac89e1a3af52439cdb8a79d01e12224c8ad11 (diff)
downloadservo-83fda753a816b3a18d136849b75978fa694cd988.tar.gz
servo-83fda753a816b3a18d136849b75978fa694cd988.zip
Add a build switch to disable the native bluetooth backend.
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index de9bf1b42cb..e85cdb09ed3 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -248,8 +248,10 @@ class MachCommands(CommandBase):
if android:
target = self.config["android"]["target"]
- if magicleap and not target:
- target = "aarch64-linux-android"
+ if magicleap:
+ features += ["disable-native-bluetooth"]
+ if not target:
+ target = "aarch64-linux-android"
if target:
if self.config["tools"]["use-rustup"]: