diff options
author | Paul Rouget <me@paulrouget.com> | 2016-08-03 06:19:53 +0200 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2016-08-03 06:19:59 +0200 |
commit | 663f8530cfc1464e11ece49131949c7e798ef7f2 (patch) | |
tree | 07594bf01dafc083161a84fd5316056910aa4b66 /python/servo/post_build_commands.py | |
parent | b2f69f363574d5dea3cb96d4ef00c1d4e56bdd63 (diff) | |
download | servo-663f8530cfc1464e11ece49131949c7e798ef7f2.tar.gz servo-663f8530cfc1464e11ece49131949c7e798ef7f2.zip |
Enable multiprocess and sandbox
Enable multiprocess and sandbox for Mac and Linux when running
browserhtml.
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r-- | python/servo/post_build_commands.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py index 733ec665cd6..0ce67a972cf 100644 --- a/python/servo/post_build_commands.py +++ b/python/servo/post_build_commands.py @@ -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', |