mirror of
https://github.com/servo/servo.git
synced 2025-07-29 10:10:34 +01:00
Enable multiprocess and sandbox
Enable multiprocess and sandbox for Mac and Linux when running browserhtml.
This commit is contained in:
parent
b2f69f3635
commit
663f8530cf
2 changed files with 6 additions and 2 deletions
|
@ -111,6 +111,10 @@ class PostBuildCommands(CommandBase):
|
|||
# Convert to a relative path to avoid mingw -> Windows path conversions
|
||||
browserhtml_path = path.relpath(browserhtml_path, os.getcwd())
|
||||
|
||||
if not is_windows():
|
||||
# multiprocess + sandbox
|
||||
args = args + ['-M', '-S']
|
||||
|
||||
args = args + ['-w',
|
||||
'--pref', 'dom.mozbrowser.enabled',
|
||||
'--pref', 'dom.forcetouch.enabled',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue