summaryrefslogtreecommitdiff
path: root/tools/releasetools/apex_utils.py
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2022-09-28 15:36:53 -0700
committer Colin Cross <ccross@android.com> 2022-09-28 15:40:20 -0700
commit4b54525b2be79c2860ba8da9cd30ce00727b40e7 (patch)
tree9f6272568adb64f030a1749f11fc3d6efbb4d70c /tools/releasetools/apex_utils.py
parent7017ac77fd4ce4d93636aec20bcec39b7792ba31 (diff)
Fix nondeterminisim in xmlnotice
SafePathPrefixes contains "prebuilts/" which is a prefix of another entry "prebuilts/module_sdk" which can both match the same path. SafePathPrefixes is a map, so the iteration order is nondeterminisitic. Move both SafePathPrefixes and SafePrebuiltPrefixes into lists that will always have a deterministic iteration order. Bug: 230357391 Test: build NOTICE.xml.gz multiple times Change-Id: Ibfcd6715b70f26164e0ef4d59f73b240f47f8db7
Diffstat (limited to 'tools/releasetools/apex_utils.py')
0 files changed, 0 insertions, 0 deletions