From 1d370092fcd85ea681bb55365e23ad813aeb7891 Mon Sep 17 00:00:00 2001 From: Yichen Yao Date: Wed, 4 Sep 2024 14:55:14 -0700 Subject: [PATCH] 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. --- scripts/fetch_code.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/fetch_code.ps1 b/scripts/fetch_code.ps1 index 9e1731b..2fae495 100644 --- a/scripts/fetch_code.ps1 +++ b/scripts/fetch_code.ps1 @@ -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") \ No newline at end of file +Remove-Item -Recurse -Force (Join-Path $workpath "v8\tools\turbolizer") \ No newline at end of file