mirror of
https://github.com/servo/servo.git
synced 2025-06-30 03:53:37 +01:00
Package DLLs correctly for Windows cross builds.
This commit is contained in:
parent
8ae287375f
commit
96c51cf173
4 changed files with 11 additions and 4 deletions
|
@ -367,7 +367,7 @@ class CommandBase(object):
|
|||
def get_gstreamer_path(self):
|
||||
return path.join(self.context.topdir, "support", "linux", "gstreamer", "gst")
|
||||
|
||||
def get_binary_path(self, release, dev, android=False, magicleap=False):
|
||||
def get_binary_path(self, release, dev, target=None, android=False, magicleap=False):
|
||||
# TODO(autrilla): this function could still use work - it shouldn't
|
||||
# handle quitting, or printing. It should return the path, or an error.
|
||||
base_path = self.get_target_dir()
|
||||
|
@ -380,6 +380,8 @@ class CommandBase(object):
|
|||
elif android:
|
||||
base_path = path.join(base_path, "android", self.config["android"]["target"])
|
||||
binary_name = "libsimpleservo.so"
|
||||
elif target:
|
||||
base_path = path.join(base_path, target)
|
||||
|
||||
release_path = path.join(base_path, "release", binary_name)
|
||||
dev_path = path.join(base_path, "debug", binary_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue