Consolidate contingent paths in prune_binaries.py

Handles the differences between full tarball, lite tarball, and cloned sources.
Removes the skip_unused and sysroot flags from _extraction.py and downloads.py.
This commit is contained in:
Blaise
2025-02-18 10:15:02 -06:00
parent 1602c44d38
commit 0bde311580
9 changed files with 262 additions and 483 deletions

View File

@@ -247,6 +247,77 @@ content/browser/indexed_db/fuzzer_corpus/indexed_db_key/string_type
content/browser/indexed_db/fuzzer_corpus/indexed_db_key_path/ascii
content/browser/indexed_db/fuzzer_corpus/indexed_db_key_path/ascii_utf8_vector
content/browser/indexed_db/fuzzer_corpus/indexed_db_key_path/utf8
content/test/data/android/SelfConsumingObject.dex
content/test/data/background_resource_fetch/SpaceOnly.otf
content/test/data/cache_storage/invalid_bucket_id/0430f1a484a0ea6d8de562488c5fbeec0111d16f/ba31f73b-95e8-44fb-a273-265e7e76f5ab/3767fbd3edc759b5_0
content/test/data/cache_storage/invalid_bucket_id/0430f1a484a0ea6d8de562488c5fbeec0111d16f/ba31f73b-95e8-44fb-a273-265e7e76f5ab/index
content/test/data/cache_storage/invalid_bucket_id/0430f1a484a0ea6d8de562488c5fbeec0111d16f/ba31f73b-95e8-44fb-a273-265e7e76f5ab/index-dir/the-real-index
content/test/data/cache_storage/padding_v2/0430f1a484a0ea6d8de562488c5fbeec0111d16f/676288ed-4de0-44af-97d6-dbd75b07a8a3/4bfb34f348c2269e_0
content/test/data/cache_storage/padding_v2/0430f1a484a0ea6d8de562488c5fbeec0111d16f/676288ed-4de0-44af-97d6-dbd75b07a8a3/index
content/test/data/cache_storage/padding_v2/0430f1a484a0ea6d8de562488c5fbeec0111d16f/676288ed-4de0-44af-97d6-dbd75b07a8a3/index-dir/the-real-index
content/test/data/cache_storage/storage_key/0430f1a484a0ea6d8de562488c5fbeec0111d16f/ba31f73b-95e8-44fb-a273-265e7e76f5ab/3767fbd3edc759b5_0
content/test/data/cache_storage/storage_key/0430f1a484a0ea6d8de562488c5fbeec0111d16f/ba31f73b-95e8-44fb-a273-265e7e76f5ab/index
content/test/data/cache_storage/storage_key/0430f1a484a0ea6d8de562488c5fbeec0111d16f/ba31f73b-95e8-44fb-a273-265e7e76f5ab/index-dir/the-real-index
content/test/data/download-test1.lib
content/test/data/download/empty.bin
content/test/data/download/gzip-content.gz
content/test/data/fuzzer_corpus/signed_exchange_certificate_chain_data/wildcard_example.org.public.pem.cbor
content/test/data/gzip-content.svgz
content/test/data/indexeddb/corrupt_leveldb/file__0.indexeddb.leveldb/000003.log
content/test/data/indexeddb/corrupt_leveldb/file__0.indexeddb.leveldb/MANIFEST-000002
content/test/data/indexeddb/crbug899446/file__0.indexeddb.leveldb/000003.log
content/test/data/indexeddb/crbug899446/file__0.indexeddb.leveldb/MANIFEST-000001
content/test/data/indexeddb/crbug899446_noai/file__0.indexeddb.leveldb/000003.log
content/test/data/indexeddb/crbug899446_noai/file__0.indexeddb.leveldb/MANIFEST-000001
content/test/data/indexeddb/missing_sst/file__0.indexeddb.leveldb/000008.sst
content/test/data/indexeddb/missing_sst/file__0.indexeddb.leveldb/MANIFEST-000007
content/test/data/indexeddb/schema_version_123456/file__0.indexeddb.leveldb/000003.log
content/test/data/indexeddb/schema_version_123456/file__0.indexeddb.leveldb/MANIFEST-000002
content/test/data/indexeddb/ssv_version_987654/file__0.indexeddb.leveldb/000003.log
content/test/data/indexeddb/ssv_version_987654/file__0.indexeddb.leveldb/MANIFEST-000002
content/test/data/indexeddb/v3_migration_test/file__0.indexeddb.blob/1/00/5
content/test/data/indexeddb/v3_migration_test/file__0.indexeddb.leveldb/000003.log
content/test/data/indexeddb/v3_migration_test/file__0.indexeddb.leveldb/MANIFEST-000001
content/test/data/interest_group/auction_only.wbn
content/test/data/interest_group/auction_only_both_new_and_old_names.wbn
content/test/data/interest_group/auction_only_new_name.wbn
content/test/data/interest_group/multiply.wasm
content/test/data/shared_dictionary/path/compressed.data
content/test/data/site_isolation/nosniff.png.octet-stream
content/test/data/sxg/127.0.0.1.public.pem.cbor
content/test/data/sxg/google-com.example.org.public.pem.cbor
content/test/data/sxg/google-com.example.org_test.sxg
content/test/data/sxg/test.example.com_invalid_test.sxg
content/test/data/sxg/test.example.org-long-validity.public.pem.cbor
content/test/data/sxg/test.example.org-noext.public.pem.cbor
content/test/data/sxg/test.example.org-validity-too-long.public.pem.cbor
content/test/data/sxg/test.example.org.public.pem.cbor
content/test/data/sxg/test.example.org_bad_content_type.sxg
content/test/data/sxg/test.example.org_cert_validity_too_long.sxg
content/test/data/sxg/test.example.org_csp.sxg
content/test/data/sxg/test.example.org_fr_variant.sxg
content/test/data/sxg/test.example.org_hello.txt.sxg
content/test/data/sxg/test.example.org_long_cert_validity.sxg
content/test/data/sxg/test.example.org_noext_test.sxg
content/test/data/sxg/test.example.org_test.html.gz.sxg
content/test/data/sxg/test.example.org_test.sxg
content/test/data/sxg/test.example.org_test_bad_mice.sxg
content/test/data/sxg/test.example.org_test_bad_mice_small.sxg
content/test/data/sxg/test.example.org_test_download.sxg
content/test/data/sxg/test.example.org_test_invalid_cbor_header.sxg
content/test/data/sxg/test.example.org_test_invalid_content_type.sxg
content/test/data/sxg/test.example.org_test_invalid_magic_string.sxg
content/test/data/sxg/test.example.org_test_missing_nosniff.sxg
content/test/data/sxg/test.example.org_vary_cookie.sxg
content/test/data/web_bundle/broken_bundle_base_b2.wbn
content/test/data/web_bundle/broken_bundle_broken_first_entry_b2.wbn
content/test/data/web_bundle/broken_bundle_broken_script_entry_b2.wbn
content/test/data/web_bundle/cross_origin_b2.wbn
content/test/data/web_bundle/foo_base_url_bundle_b2.wbn
content/test/data/web_bundle/foo_primary_url_bundle_b2.wbn
content/test/data/web_bundle/same_origin_b2.wbn
content/test/data/web_bundle/uuid-in-package.wbn
content/test/data/web_bundle/web_bundle_browsertest_b2.wbn
device/fido/response_data_fuzzer_corpus/get_assertion_response_corpus
device/fido/response_data_fuzzer_corpus/make_credential_response_corpus
device/fido/response_data_fuzzer_corpus/register1
@@ -259,29 +330,6 @@ fuchsia_web/webengine/test/data/bear-vp8a.webm
fuchsia_web/webengine/test/data/bear-vp9-opus.webm
fuchsia_web/webengine/test/data/bear-vp9.webm
headless/test/data/protocol/emulation/resources/video.webm
ios/chrome/app/profile/profile_controller.mm
ios/chrome/browser/crash_report/model/seed_corpuses/process_snapshot_dump_1
ios/chrome/browser/crash_report/model/seed_corpuses/process_snapshot_dump_2
ios/chrome/browser/crash_report/model/seed_corpuses/process_snapshot_dump_3
ios/chrome/browser/crash_report/model/seed_corpuses/process_snapshot_dump_4
ios/chrome/browser/omnibox/ui_bundled/popup/carousel/omnibox_popup_carousel_control.mm
ios/chrome/browser/omnibox/ui_bundled/popup/omnibox_popup_view_controller.mm
ios/chrome/browser/omnibox/ui_bundled/popup/row/omnibox_popup_row_content_configuration.mm
ios/chrome/browser/sessions/model/session_restoration_web_state_list_observer.mm
ios/chrome/test/data/optimization_guide/additional_file_doesnt_exist.crx3
ios/chrome/test/data/optimization_guide/additional_file_exists.crx3
ios/chrome/test/data/optimization_guide/signed_valid_model.crx3
ios/chrome/test/data/sessions/corrupted.plist
ios/chrome/test/data/sessions/session_m57.plist
ios/chrome/test/data/sessions/session_m58.plist
ios/chrome/test/data/voice/test_sound.m4a
ios/testing/data/http_server_files/bundle.pkpasses
ios/testing/data/http_server_files/generic.pkpass
ios/testing/data/http_server_files/redchair.usdz
ios/testing/data/http_server_files/semi_bundle.pkpasses
ios/testing/data/http_server_files/video_sample.mov
ios/web/navigation/navigation_item_impl_unittest.mm
ios/web/test/data/testpass.pkpass
media/formats/mp4/h264_annex_b_fuzz_corpus/chunk1-config-idr.bin
media/formats/mp4/h264_annex_b_fuzz_corpus/chunk2-non-idr.bin
media/formats/mp4/h264_annex_b_fuzz_corpus/chunk3-non-idr.bin
@@ -7016,7 +7064,6 @@ third_party/catapult/third_party/vinn/third_party/parse5/test/data/tree_construc
third_party/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/plain-text-unsafe.dat
third_party/catapult/tracing/skp_data/google_homepage.skp
third_party/catapult/tracing/skp_data/lthi_cats.skp
third_party/closure_compiler/compiler/compiler.jar
third_party/cpuinfo/src/test/dmesg/alldocube-iwork8.log
third_party/cpuinfo/src/test/dmesg/galaxy-a3-2016-eu.log
third_party/cpuinfo/src/test/dmesg/galaxy-grand-prime-value-edition.log