mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-23 13:56:10 +03:00
build.sh: Don't build Cronet for static builds
This commit is contained in:
parent
d468e24bbe
commit
b4c1492ff0
@ -68,4 +68,9 @@ export DEPOT_TOOLS_WIN_TOOLCHAIN=0
|
||||
|
||||
./gn/out/gn gen "$out" --args="$flags $EXTRA_FLAGS" --script-executable=$PYTHON
|
||||
|
||||
ninja -C "$out" naive cronet cronet_static
|
||||
cronet_targets="cronet cronet_static"
|
||||
if echo "$EXTRA_FLAGS" | grep -q "build_static=true"; then
|
||||
cronet_targets=
|
||||
fi
|
||||
|
||||
ninja -C "$out" naive $cronet_targets
|
||||
|
Loading…
Reference in New Issue
Block a user