Skip to content

Commit

Permalink
Additional changes to build.sh (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vihanakangas authored and paulthomson committed Jan 22, 2020
1 parent 3f29b95 commit b75592f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ case "$(uname)" in
export PATH="${HOME}/depot_tools:${PATH}"
;;

"MINGW"*)
"MINGW"*|"MSYS_NT"*)
# Needed for depot_tools on Windows.
export DEPOT_TOOLS_WIN_TOOLCHAIN=0
curl -fsSL -o depot_tools.zip https://storage.googleapis.com/chrome-infra/depot_tools.zip
Expand Down Expand Up @@ -153,7 +153,7 @@ case "$(uname)" in
gclient sync
;;

"MINGW"*)
"MINGW"*|"MSYS_NT"*)
python.bat scripts/bootstrap.py
gclient.bat sync
;;
Expand Down Expand Up @@ -191,7 +191,7 @@ case "$(uname)" in
autoninja -C "out/${CONFIG}" "${TARGETS[@]}"
;;

"MINGW"*)
"MINGW"*|"MSYS_NT"*)
gn.bat gen "out/${CONFIG}" "${GEN_ARGS}"
cat "out/${CONFIG}/args.gn"
autoninja.bat -C "out/${CONFIG}" "${TARGETS[@]}"
Expand Down Expand Up @@ -226,7 +226,7 @@ case "$(uname)" in
"Darwin")
;;

"MINGW"*)
"MINGW"*|"MSYS_NT"*)
# Remove .lib files.
# rm "${INSTALL_DIR}/lib/"*.lib
# Restore PATH.
Expand Down

0 comments on commit b75592f

Please sign in to comment.