mirror of
https://github.com/servo/servo.git
synced 2025-07-26 16:50:23 +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
|
@ -181,9 +181,14 @@ class MachCommands(CommandBase):
|
|||
default=None,
|
||||
action='store_true',
|
||||
help='Enable debug assertions in release')
|
||||
@CommandArgument('--libsimpleservo',
|
||||
default=None,
|
||||
action='store_true',
|
||||
help='Build the libsimpleservo library instead of the servo executable')
|
||||
def build(self, target=None, release=False, dev=False, jobs=None,
|
||||
features=None, android=None, no_package=False, verbose=False, very_verbose=False,
|
||||
debug_mozjs=False, params=None, with_debug_assertions=False):
|
||||
debug_mozjs=False, params=None, with_debug_assertions=False,
|
||||
libsimpleservo=False):
|
||||
|
||||
opts = params or []
|
||||
|
||||
|
@ -251,6 +256,8 @@ class MachCommands(CommandBase):
|
|||
self.ensure_bootstrapped(target=target)
|
||||
self.ensure_clobbered()
|
||||
|
||||
opts += ["--manifest-path", self.manifest_path(android, libsimpleservo)]
|
||||
|
||||
if debug_mozjs:
|
||||
features += ["debugmozjs"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue