Remove more unused code to avoid CG alerts. (#213)

This PR removes several more unused folders prior to the build process to mitigate Component Governance alerts.
This commit is contained in:
Yichen Yao 2024-09-04 14:55:14 -07:00 коммит произвёл GitHub
Родитель 27e6446af0
Коммит 1d370092fc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -88,10 +88,13 @@ if ($AppPlatform -eq "linux") {
}
# Remove unused code
Remove-Item -Recurse -Force (Join-Path $workpath "depot_tools\external_bin\gsutil")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\test\test262\data\tools")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\third_party\depot_tools\external_bin\gsutil")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\third_party\perfetto")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\third_party\protobuf_chrome")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\bazel")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\tools\clusterfuzz")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\tools\turbolizer")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\tools\package-lock.json")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\tools\package.json")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\tools\package-lock.json")
Remove-Item -Recurse -Force (Join-Path $workpath "v8\tools\turbolizer")