summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2018-10-04 23:29:14 -0700
committer Colin Cross <ccross@android.com> 2018-10-08 16:05:48 -0700
commit08f15ab46655d7b8a285df531d1dfd3cafb2eb73 (patch)
treecf1e3f672cd40e42d848112752c94b326428e2f6 /java/java_test.go
parent1c7e0a235b83739b07d9ca88ba90d558fdc4a69d (diff)
genrule: add $(location) for inputs and outputs
There was no way to select a single source file from a genrule that has multiple source files. Make Soong's genrule closer to Bazel by supporting $(location) for input and outputs. Change the label used for tools referenced through filegroups to the name of the module instead of the name of the file, which means it matches the string used in the tools property. Also support :module format in the tools property in preparation for deprecating the tool_files property and putting both files and modules in the tools property. Bug: 117354232 Test: genrule_test.go Change-Id: Id31a4ac4ff7064076a576c1d8ffeb7c19fc6b9a4 Merged-In: Id31a4ac4ff7064076a576c1d8ffeb7c19fc6b9a4 (cherry picked from commit 098d22b5f6d965872b524ce798ce728580ce405c)
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions