When compiling SwiftShader, set BUILD_TESTS=OFF.
After https://swiftshader-review.googlesource.com/c/SwiftShader/+/19228, SwiftShader fails to build without third_party/googletest unless BUILD_TESTS is disabled. Bug: skia:8054 Change-Id: If365fbbfc42dd3c41cc57be0fd7d494e7f83589d Reviewed-on: https://skia-review.googlesource.com/133832 Reviewed-by: Ravi Mistry <rmistry@google.com> Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Ben Wagner <benjaminwagner@google.com>
This commit is contained in:
parent
79aea6a147
commit
57f8fcd422
@ -35,7 +35,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', swiftshader_root, '-GNinja'])
|
||||
cmd=['cmake', '-DBUILD_TESTS=OFF', swiftshader_root, '-GNinja'])
|
||||
api.run(api.step, 'swiftshader ninja',
|
||||
cmd=['ninja', '-C', out, 'libEGL.so', 'libGLESv2.so'])
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
{
|
||||
"cmd": [
|
||||
"cmake",
|
||||
"-DBUILD_TESTS=OFF",
|
||||
"[START_DIR]/cache/work/skia/third_party/externals/swiftshader",
|
||||
"-GNinja"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user