aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorYanir Seroussi <yanir.seroussi@gmail.com>2015-11-19 14:35:10 +1100
committerYanir Seroussi <yanir.seroussi@gmail.com>2015-11-19 14:35:10 +1100
commit4b71bc5c422528bcd4b774d8fee14469bb0f3ca1 (patch)
tree0f6596e1fec8d71d65e5caebed63de3f3b21bcd4 /python/servo/build_commands.py
parenta5babb89a02b9b84a8cd62554a5ceef9efb0d481 (diff)
downloadservo-4b71bc5c422528bcd4b774d8fee14469bb0f3ca1.tar.gz
servo-4b71bc5c422528bcd4b774d8fee14469bb0f3ca1.zip
Reduce duplication in binary path determinition for Android target (fixes issue #8349)
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index c2f7381e7ac..f4b9770db25 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -198,7 +198,7 @@ class MachCommands(CommandBase):
if verbose:
opts += ["-v"]
if android:
- opts += ["--target", "arm-linux-androideabi"]
+ opts += ["--target", self.config["android"]["target"]]
if debug_mozjs or self.config["build"]["debug-mozjs"]:
features += ["script/debugmozjs"]
@@ -298,7 +298,6 @@ class MachCommands(CommandBase):
def build_gonk(self, jobs=None, verbose=False, release=False):
self.ensure_bootstrapped()
- ret = None
opts = []
if jobs is not None:
opts += ["-j", jobs]
@@ -307,7 +306,7 @@ class MachCommands(CommandBase):
if release:
opts += ["--release"]
- opts += ["--target", "arm-linux-androideabi"]
+ opts += ["--target", self.config["android"]["target"]]
env = self.build_env(gonk=True)
build_start = time()
with cd(path.join("ports", "gonk")):