summaryrefslogtreecommitdiff
path: root/androidmk
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-10-07 15:05:23 -0700
committer Colin Cross <ccross@android.com> 2024-10-07 20:12:40 -0700
commitb2388e3e3d67ab20292ada184bfbeb32d65d7d4c (patch)
tree63cdf7c1a2605ba9dba49ef7a6eb111905cdfc80 /androidmk
parentd224fcab8b898f2cd68b10360a1e3aa17d46ba09 (diff)
Remove unused TopDownMutatorContext methods
Remove methods on TopDownMutatorContext that are no longer used. This deletes everything unique to BaseMutatorContext, so delete that too and replace it with BaseModuleContext. Bug: 367784740 Test: builds Flag: EXEMPT refactor Change-Id: Id37c7b7e3d46d75afaf7752862b08f766217f08b
Diffstat (limited to 'androidmk')
-rw-r--r--androidmk/parser/parser_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/androidmk/parser/parser_test.go b/androidmk/parser/parser_test.go
index e238f8b11..21baf6bf9 100644
--- a/androidmk/parser/parser_test.go
+++ b/androidmk/parser/parser_test.go
@@ -142,7 +142,7 @@ endif
t.Fatalf("Unexpected errors while parsing: %v", errs)
}
- if got[0].End() < got[len(got) -1].Pos() {
- t.Errorf("Rule's end (%d) is smaller than directive that inside of rule's start (%v)\n", got[0].End(), got[len(got) -1].Pos())
+ if got[0].End() < got[len(got)-1].Pos() {
+ t.Errorf("Rule's end (%d) is smaller than directive that inside of rule's start (%v)\n", got[0].End(), got[len(got)-1].Pos())
}
}