mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-09 04:02:11 +00:00
build.sh: Don't build Cronet for static builds
This commit is contained in:
parent
d468e24bbe
commit
b4c1492ff0
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue