upload_system_symbols: Make /System/Library/Components optional

Bug: 1400770
Change-Id: I81cb981bb9ca208ac2af9e27c00e75cab1c14717
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4178413
Reviewed-by: Robert Sesek <rsesek@chromium.org>
This commit is contained in:
Leonard Grey 2023-01-18 11:34:18 -05:00
parent bae7147e78
commit 934d6b2a5d

View file

@ -69,7 +69,6 @@ var (
var (
// pathsToScan are the subpaths in the systemRoot that should be scanned for shared libraries.
pathsToScan = []string{
"/System/Library/Components",
"/System/Library/Frameworks",
"/System/Library/PrivateFrameworks",
"/usr/lib",
@ -79,6 +78,8 @@ var (
optionalPathsToScan = []string{
// Gone in 10.15.
"/Library/QuickTime",
// Not present in dumped dyld_shared_caches
"/System/Library/Components",
}
// uploadServersV1 are the list of servers to which symbols should be