Give compliance a pkgPath
Change the pkgPath of compliance to android/soong/tools/compliance
to distinguish it from the standard library.
Also add a go.mod file so that the Go tools can find the package.
Test: go test ./...
Change-Id: I061be2b91378db6508e9c88be2548648af8be4e7
diff --git a/tools/compliance/cmd/dumpgraph.go b/tools/compliance/cmd/dumpgraph.go
index 76fdff3..02ab025 100644
--- a/tools/compliance/cmd/dumpgraph.go
+++ b/tools/compliance/cmd/dumpgraph.go
@@ -15,7 +15,6 @@
package main
import (
- "compliance"
"flag"
"fmt"
"io"
@@ -23,6 +22,8 @@
"path/filepath"
"sort"
"strings"
+
+ "android/soong/tools/compliance"
)
var (