mirror of
https://github.com/servo/servo.git
synced 2025-06-30 03:53:37 +01:00
Implement Gradle flavors
This commit is contained in:
parent
ffa03380ca
commit
e93130026a
13 changed files with 132 additions and 21 deletions
|
@ -551,6 +551,9 @@ class CommandBase(object):
|
|||
def android_build_dir(self, dev):
|
||||
return path.join(self.get_target_dir(), self.config["android"]["target"], "debug" if dev else "release")
|
||||
|
||||
def android_aar_dir(self):
|
||||
return path.join(self.context.topdir, "target", "android_aar")
|
||||
|
||||
def handle_android_target(self, target):
|
||||
if target == "arm-linux-androideabi":
|
||||
self.config["android"]["platform"] = "android-18"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue