Track dependencies when reading notice files
Track which files are read by the notice file indexer and add a flag
to textnotice and htmlnotice to support writing them out.
Bug: 207445310
Test: textnotice_test
Test: htmlnotice_test
Change-Id: Ib74706b8a87a5ed9268a0fe37982ecf89f4e227d
diff --git a/tools/compliance/Android.bp b/tools/compliance/Android.bp
index 7037670..3a12738 100644
--- a/tools/compliance/Android.bp
+++ b/tools/compliance/Android.bp
@@ -55,7 +55,10 @@
blueprint_go_binary {
name: "htmlnotice",
srcs: ["cmd/htmlnotice/htmlnotice.go"],
- deps: ["compliance-module"],
+ deps: [
+ "compliance-module",
+ "blueprint-deptools",
+ ],
testSrcs: ["cmd/htmlnotice/htmlnotice_test.go"],
}
@@ -69,7 +72,10 @@
blueprint_go_binary {
name: "textnotice",
srcs: ["cmd/textnotice/textnotice.go"],
- deps: ["compliance-module"],
+ deps: [
+ "compliance-module",
+ "blueprint-deptools",
+ ],
testSrcs: ["cmd/textnotice/textnotice_test.go"],
}