aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2016-08-03 06:19:53 +0200
committerPaul Rouget <me@paulrouget.com>2016-08-03 06:19:59 +0200
commit663f8530cfc1464e11ece49131949c7e798ef7f2 (patch)
tree07594bf01dafc083161a84fd5316056910aa4b66 /python/servo/post_build_commands.py
parentb2f69f363574d5dea3cb96d4ef00c1d4e56bdd63 (diff)
downloadservo-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.py4
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',