summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-03-23 22:30:35 -0700
committerColin Cross <ccross@android.com>2021-03-25 11:06:45 -0700
commitd11cf62ec786aa956e195a46bd142fec8fd092b8 (patch)
treefc17564cf1672997b01f064b87285a6920f0ddc1 /java/java_test.go
parent7ee54ffd708252e085d17e64c8e89ba9ef19d105 (diff)
Use interface for $(location) values in genrules
Use an interface instead of a string to retrieve the value for $(location) or $(locations) expansions in genrules to allow delaying the evaluation until the RuleBuilderCommand is available. This allows using helpers like RuleBuilderCommand.PathForInputs to properly rewrite the values for sandboxing. Also remove the standalone SboxPathFor* methods that don't operate on a specific RuleBuilderCommand that are now unnecessary. Test: genrule_test.go Change-Id: I8bb2647332ef118204a216cead23d062517e2b8c
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions