thorium-mirror/win_scripts/old/clean.bat
Ho Cheung ce732accf6 [infra] Refactored some sh files with python
1.Move *.bat files to //win_scripts/old. These
files have not been updated for a long time and
are not convenient to use.

2.Rewrite some sh files with python, currently
only for the parts applicable to Windows.

3.Some other related changes.
2024-10-22 10:17:11 +08:00

25 lines
598 B
Batchfile

# Copyright (c) 2022 Alex313031.
# Run from within out\Thorium or wherever you put your build, or cd there first
# i.e. cd C:\src\chromium\src\out\thorium
echo "Cleaning up build artifacts..." &&
cd C:\src\chromium\src\out\thorium &&
del *deps* &&
del *TOC* &&
rmdir /s /q pyproto &&
rmdir /s /q obj &&
rmdir /s /q newlib_pnacl_nonsfi &&
rmdir /s /q newlib_pnacl &&
rmdir /s /q nacl_bootstrap_x64 &&
rmdir /s /q irt_x64 &&
rmdir /s /q glibc_x64 &&
rmdir /s /q gen &&
rmdir /s /q etc &&
rmdir /s /q clang_newlib_x64 &&
rmdir /s /q thinlto-cache &&
rmdir /s /q fontconfig_caches &&
echo "Done!"