diff options
author | 2020-07-05 10:23:14 +0900 | |
---|---|---|
committer | 2020-07-05 10:23:14 +0900 | |
commit | 7607dd35648950a5a3df57721a5e5dde4116b293 (patch) | |
tree | bc289006480a9a2e471d1e55f7d6a1f239c754b0 /rust/library.go | |
parent | 8fab5bcce33637d097673bb0d11d785b0ada36fd (diff) |
Apply "excludes" for OutputFileProducer
"excludes" should be applied both SourceFileProducer and
OutputFileProducer. But we've been missing the latter.
(see android/paths_test.go)
There's one more to note. Previously, the exclusion was done by
modifying slice directly, which caused some problem(b/76179848).
The fix was returning a copy from Srcs() method. But there're still many
implementors which just return internal slices directly.
This change creates a new array when it needs to exclude something from
returned slice.
Bug: n/a
Test: m (soong test added)
Change-Id: I1ba91e490cb55fc243020681667278cdc75f59df
Diffstat (limited to 'rust/library.go')
0 files changed, 0 insertions, 0 deletions