Move policy subdirectory into package directory
Go's tooling expects that all files in the same package are in the
same directory. Move the policy/*.go files to policy_*.go.
Test: go test ./...
Change-Id: I7e81936ddd20a5ffb4770ae23bdb6e411d6924cc
diff --git a/tools/compliance/Android.bp b/tools/compliance/Android.bp
index 8bae317..7d0fb90 100644
--- a/tools/compliance/Android.bp
+++ b/tools/compliance/Android.bp
@@ -81,14 +81,14 @@
"doc.go",
"graph.go",
"noticeindex.go",
- "policy/policy.go",
- "policy/resolve.go",
- "policy/resolvenotices.go",
- "policy/resolveshare.go",
- "policy/resolveprivacy.go",
- "policy/shareprivacyconflicts.go",
- "policy/shipped.go",
- "policy/walk.go",
+ "policy_policy.go",
+ "policy_resolve.go",
+ "policy_resolvenotices.go",
+ "policy_resolveshare.go",
+ "policy_resolveprivacy.go",
+ "policy_shareprivacyconflicts.go",
+ "policy_shipped.go",
+ "policy_walk.go",
"readgraph.go",
"resolution.go",
"resolutionset.go",
@@ -97,14 +97,14 @@
"condition_test.go",
"conditionset_test.go",
"readgraph_test.go",
- "policy/policy_test.go",
- "policy/resolve_test.go",
- "policy/resolvenotices_test.go",
- "policy/resolveshare_test.go",
- "policy/resolveprivacy_test.go",
- "policy/shareprivacyconflicts_test.go",
- "policy/shipped_test.go",
- "policy/walk_test.go",
+ "policy_policy_test.go",
+ "policy_resolve_test.go",
+ "policy_resolvenotices_test.go",
+ "policy_resolveshare_test.go",
+ "policy_resolveprivacy_test.go",
+ "policy_shareprivacyconflicts_test.go",
+ "policy_shipped_test.go",
+ "policy_walk_test.go",
"resolutionset_test.go",
"test_util.go",
],