Commit 817dd25e authored by Linshizhi's avatar Linshizhi

Treat skia as an non-bazel project.

parent 8615b562
...@@ -17,13 +17,20 @@ fi ...@@ -17,13 +17,20 @@ fi
cd $SKIA_PATH cd $SKIA_PATH
builds=$(find . | grep -e "[^.]*\.bazel$") # There is no deps resolve rules provide by skia
if [ ! -z "$builds" ]; then # so unable to handle transitive deps of skia.
# Just treat it as an non-bazel projects, which
# require to remove all bazel related files.
if [ -f "WORKSPACE.bazel" ]; then
builds=$(find . | grep -e "[^.]*\.bazel$" | xargs)
if [ ! -z "$builds" ]; then
rm $builds rm $builds
fi
fi fi
python3 tools/git-sync-deps python3 tools/git-sync-deps
bin/gn gen out/Shared --args='is_official_build=true is_component_build=true skia_use_system_harfbuzz=false' bin/gn gen out/Shared --args='is_official_build=true is_component_build=true skia_use_system_harfbuzz=false skia_enable_svg=true'
ninja -C out/Shared ninja -C out/Shared
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment