mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Revert "Remove -w flag now that WebRender is always used"
This reverts commit b94b58f7ae
.
The wptrunner changes are not quite right and causes Python exceptions
inside the test haness.
This commit is contained in:
parent
231481570e
commit
7595a90221
20 changed files with 105 additions and 69 deletions
|
@ -210,6 +210,9 @@ def main():
|
|||
parser.add_argument("-d", "--debug",
|
||||
action='store_true',
|
||||
help="Use debug build instead of release build")
|
||||
parser.add_argument("-w", "--webrender",
|
||||
action='store_true',
|
||||
help="Use webrender backend")
|
||||
parser.add_argument("-l", "--max_layout_threads",
|
||||
help="Specify the maximum number of threads for layout, for example \"-l 5\"")
|
||||
parser.add_argument("-o", "--output",
|
||||
|
@ -230,6 +233,8 @@ def main():
|
|||
benchmark = args.benchmark
|
||||
if args.debug:
|
||||
build_target = "debug"
|
||||
if args.webrender:
|
||||
renderer = "-w"
|
||||
if args.max_layout_threads:
|
||||
max_layout_threads = int(args.max_layout_threads)
|
||||
if args.output:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue