| # Copyright 2018 Google, LLC |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| mkdir -p /skia/out/with-swift-shader |
| skia_use_system_freetype2 = false |
| "-I/tmp/swiftshader/include", |
| "-DGR_EGL_TRY_GLES3_THEN_GLES2", |
| ] ' > /skia/out/with-swift-shader/args.gn |
| # /skia is where the host Skia checkout is linked to in the container |
| if [ "sync-deps" = "$1" ]; then |
| python tools/git-sync-deps |
| ./bin/gn gen out/with-swift-shader |
| /tmp/depot_tools/ninja -C out/with-swift-shader |