Turn off warnings as errors in SwiftShader

Might fix the roll?

Change-Id: Ia041e7ee1fe5a3a8740dc3ad06c1e4bf36d0853b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210426
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
Brian Osman 2019-04-25 14:35:38 -04:00 committed by Skia Commit-Bot
parent 3747605509
commit 83cecb5a85
2 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def compile_swiftshader(api, swiftshader_root, cc, cxx, out):
api.file.ensure_directory('makedirs swiftshader_out', out)
with api.context(cwd=out, env=env):
api.run(api.step, 'swiftshader cmake',
cmd=['cmake', '-DBUILD_TESTS=OFF', swiftshader_root, '-GNinja'])
cmd=['cmake', '-DBUILD_TESTS=OFF', '-DWARNINGS_AS_ERRORS=0', swiftshader_root, '-GNinja'])
api.run(api.step, 'swiftshader ninja',
cmd=['ninja', '-C', out, 'libEGL.so', 'libGLESv2.so'])

View File

@ -32,6 +32,7 @@
"cmd": [
"cmake",
"-DBUILD_TESTS=OFF",
"-DWARNINGS_AS_ERRORS=0",
"[START_DIR]/cache/work/skia/third_party/externals/swiftshader",
"-GNinja"
],