Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Fix invalid security alerts in CG report (#551)
Browse files Browse the repository at this point in the history
Delete unused code before scanning for vulnerabilities to avoid false positives.
  • Loading branch information
djee-ms committed Sep 15, 2020
1 parent ab2d6fa commit d94268a
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions tools/ci/templates/jobs-libwebrtc-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,22 @@ jobs:
# Clean-up unused files
- script: |
rm -rf third_party/blink
rm -rf third_party/catapult
rm -rf third_party/perfetto
rm -rf third_party/pycoverage
rm -rf tools/code_coverage
workingDirectory: 'external/libwebrtc/webrtc/src'
rm -rf depot_tools/external_bin/gsutil
rm -rf webrtc/src/examples/androidtests
#mv webrtc/src/third_party/auto/BUILD.gn ./BUILD.gn.auto
#rm -rf webrtc/src/third_party/auto
#mkdir -p webrtc/src/third_party/auto
#mv ./BUILD.gn.auto webrtc/src/third_party/auto/BUILD.gn
rm -rf webrtc/src/third_party/blink
rm -rf webrtc/src/third_party/catapult
rm -rf webrtc/src/third_party/perfetto
rm -rf webrtc/src/third_party/protobuf/java
rm -rf webrtc/src/third_party/protobuf/ruby
rm -rf webrtc/src/third_party/pycoverage
rm -rf webrtc/src/third_party/WebKit
rm -rf webrtc/src/tools/code_coverage
rm -rf webrtc/src/tools/android/loading
workingDirectory: 'external/libwebrtc'
displayName: 'Clean-up unused files'
# List available disk space after clean-up
Expand Down

0 comments on commit d94268a

Please sign in to comment.