summaryrefslogtreecommitdiff
path: root/android/paths_test.go
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2020-07-08 06:40:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-07-08 06:40:08 +0000
commitecc495fd096871feff67f598fc768ba972a84dd9 (patch)
treefbe0cb0d74c380f17f0b1b0a20b2c226b6b9d47f /android/paths_test.go
parent0ae555df1a5b0fc86a6fa83c1de42026ef184cd2 (diff)
parent7607dd35648950a5a3df57721a5e5dde4116b293 (diff)
Merge "Apply "excludes" for OutputFileProducer"
Diffstat (limited to 'android/paths_test.go')
-rw-r--r--android/paths_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/android/paths_test.go b/android/paths_test.go
index 9b45d3f3a..a9cd22bce 100644
--- a/android/paths_test.go
+++ b/android/paths_test.go
@@ -1091,6 +1091,21 @@ func TestPathsForModuleSrc(t *testing.T) {
rels: []string{"gen/c"},
},
{
+ name: "output file provider with exclude",
+ bp: `
+ test {
+ name: "foo",
+ srcs: [":b", ":c"],
+ exclude_srcs: [":c"]
+ }
+ output_file_provider {
+ name: "c",
+ outs: ["gen/c"],
+ }`,
+ srcs: []string{buildDir + "/.intermediates/ofp/b/gen/b"},
+ rels: []string{"gen/b"},
+ },
+ {
name: "special characters glob",
bp: `
test {