mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
Only build ports/servo by default (except Android), add ./mach build --libsimpleservo
Fixes #21314
This commit is contained in:
parent
6842553923
commit
39079cff8b
4 changed files with 20 additions and 6 deletions
|
@ -670,9 +670,18 @@ install them, let us know by filing a bug!")
|
|||
def ports_servo_crate(self):
|
||||
return path.join(self.context.topdir, "ports", "servo")
|
||||
|
||||
def manifest_path(self, android=False, libsimpleservo=False):
|
||||
if libsimpleservo or android:
|
||||
return self.ports_libsimpleservo_manifest()
|
||||
else:
|
||||
return self.ports_servo_manifest()
|
||||
|
||||
def ports_servo_manifest(self):
|
||||
return path.join(self.context.topdir, "ports", "servo", "Cargo.toml")
|
||||
|
||||
def ports_libsimpleservo_manifest(self):
|
||||
return path.join(self.context.topdir, "ports", "libsimpleservo", "Cargo.toml")
|
||||
|
||||
def servo_features(self):
|
||||
"""Return a list of optional features to enable for the Servo crate"""
|
||||
features = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue