bp2build: remove header globs in generated srcs.

Not needed anymore for bp2build-incremental since https://android-review.googlesource.com/q/topic:no-include-check.

Not needed for mixed builds either, since cc compile actions aren't sandboxed.

Fixes: 186488830
Test: treehugger and go tests

Change-Id: Ib5d4908dcce6bf910a653c457bb251d726e717d4
This commit is contained in:
Jingwen Chen
2021-04-27 05:54:20 +00:00
parent c30d7beb8f
commit 882bcc1c1c
8 changed files with 14 additions and 262 deletions

View File

@@ -67,11 +67,7 @@ func TestCcObjectBp2Build(t *testing.T) {
"-Iinclude",
"-I.",
],
srcs = [
"a/b/c.c",
"a/b/bar.h",
"a/b/foo.h",
],
srcs = ["a/b/c.c"],
)`,
},
},