platform_build/tools/compliance
Colin Cross 4b54525b2b 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
2022-09-28 15:40:20 -07:00
..
cmd Policy clarified: No need to share a "distribution medium" 2022-09-22 03:23:23 +00:00
Android.bp Improve flags for compliance tools. 2022-06-03 12:44:22 -07:00
condition.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00
condition_test.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00
conditionset.go Performance and scale. 2022-01-11 10:40:50 -08:00
conditionset_test.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00
doc.go compliance package documentation 2021-12-06 16:39:35 -08:00
go.mod Fix go.mod for tools/compliance 2022-08-01 14:24:21 -07:00
go.sum Fix go.mod for tools/compliance 2022-08-01 14:24:21 -07:00
graph.go Run gofmt on compliance 2022-01-27 17:14:02 -08:00
noticeindex.go Fix nondeterminisim in xmlnotice 2022-09-28 15:40:20 -07:00
policy_policy.go Fix nondeterminisim in xmlnotice 2022-09-28 15:40:20 -07:00
policy_policy_test.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00
policy_resolve.go Policy clarified: No need to share a "distribution medium" 2022-09-22 03:23:23 +00:00
policy_resolve_test.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00
policy_resolvenotices.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolvenotices_test.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00
policy_resolveprivacy.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolveprivacy_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolveshare.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolveshare_test.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00
policy_shareprivacyconflicts.go Policy clarified: No need to share a "distribution medium" 2022-09-22 03:23:23 +00:00
policy_shareprivacyconflicts_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_shipped.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_shipped_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_walk.go Added a Breadth-first top down walk function 2022-09-26 19:04:51 +00:00
policy_walk_test.go Added a Breadth-first top down walk function 2022-09-26 19:04:51 +00:00
readgraph.go Policy clarified: No need to share a "distribution medium" 2022-09-22 03:23:23 +00:00
readgraph_test.go Greater-than zero is more idiomatic. 2022-02-09 15:56:59 -08:00
resolution.go Run gofmt on compliance 2022-01-27 17:14:02 -08:00
resolutionset.go Policy clarified: No need to share a "distribution medium" 2022-09-22 03:23:23 +00:00
resolutionset_test.go Performance and scale. 2022-01-11 10:40:50 -08:00
test_util.go Policy change: GPL+CE is permissive. 2022-09-20 21:50:08 -07:00