diff options
author | 2024-01-09 19:21:27 +0000 | |
---|---|---|
committer | 2024-01-09 19:23:36 +0000 | |
commit | 150d87fce0fe3e4bd85caf2c89b57d388c520bdc (patch) | |
tree | 466cc624e3858071184239e23c47d0829ac96446 /java/builder.go | |
parent | 539b46b6bd0ebacbc79016a8e0043dce02072263 (diff) |
Fix the static rule for generating the revert annotations
While the static rule depends on the keep-flagged-apis binary, the
command deps was mistakenly not specified. This change fixes the rule.
Test: m
Change-Id: I4875ac516e0e03389eb6a09d720c94f28710fbc9
Diffstat (limited to 'java/builder.go')
-rw-r--r-- | java/builder.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/builder.go b/java/builder.go index 6919236d5..e9218a792 100644 --- a/java/builder.go +++ b/java/builder.go @@ -287,7 +287,8 @@ var ( generateMetalavaRevertAnnotationsRule = pctx.AndroidStaticRule("generateMetalavaRevertAnnotationsRule", blueprint.RuleParams{ - Command: `${keep-flagged-apis} ${in} > ${out}`, + Command: `${keep-flagged-apis} ${in} > ${out}`, + CommandDeps: []string{"${keep-flagged-apis}"}, }) ) |