mirror of
https://github.com/servo/servo.git
synced 2025-07-02 21:13:39 +01:00
Disable WGL for Windows arm64.
This commit is contained in:
parent
b19cd5eb3a
commit
385b46cff7
7 changed files with 17 additions and 2 deletions
|
@ -197,10 +197,12 @@ class MachCommands(CommandBase):
|
|||
default=None,
|
||||
action='store_true',
|
||||
help='Build with frame pointer enabled, used by the background hang monitor.')
|
||||
@CommandArgument('--with-raqote', default=None, action='store_true')
|
||||
@CommandArgument('--without-wgl', default=None, action='store_true')
|
||||
def build(self, target=None, release=False, dev=False, jobs=None,
|
||||
features=None, android=None, magicleap=None, no_package=False, verbose=False, very_verbose=False,
|
||||
debug_mozjs=False, params=None, with_debug_assertions=False,
|
||||
libsimpleservo=False, with_frame_pointer=False):
|
||||
libsimpleservo=False, with_frame_pointer=False, with_raqote=False, without_wgl=False):
|
||||
|
||||
opts = params or []
|
||||
|
||||
|
@ -291,6 +293,12 @@ class MachCommands(CommandBase):
|
|||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C force-frame-pointers=yes"
|
||||
features += ["profilemozjs"]
|
||||
|
||||
if with_raqote:
|
||||
features += ["raqote_backend"]
|
||||
|
||||
if without_wgl:
|
||||
features += ["no_wgl"]
|
||||
|
||||
if self.config["build"]["webgl-backtrace"]:
|
||||
features += ["webgl-backtrace"]
|
||||
if self.config["build"]["dom-backtrace"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue