summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
author Yuntao Xu <yuntaoxu@google.com> 2021-07-29 23:15:19 -0700
committer Yuntao Xu <yuntaoxu@google.com> 2021-07-30 09:47:07 -0700
commit56cc658b93ac53053bfc7fcc3986a680d7aea5fc (patch)
tree75a7efbf76cf6464ec59f12f9a52562f3d75b982 /rust/compiler.go
parent06cf460f3c1ba1b0a2c0d47ce952731a9067fa49 (diff)
remove target from every intermediate depFile
1. The current logic in the rsCppCmdLine only removes the target from the first intermediated depFile, which is different from the logic in Make, see https://source.corp.google.com/android/build/make/core/definitions.mk;l=1078 2. The expected logic, as that in Make, is to remove the target from every intermediate depFile, if there are many, before the concatenation; 3. This bug would cause dependency cycle error, please check the bug number below for more details; 4. The fix is to make sure the logic here is the same as that in Make. Bug: 195036632 Test: m CtsRsCppTestCases with the converted Android.bp file (run more than once to make sure no error occurs) Test: manually checked the gen/rs/rs.stamp.d file to make sure there is only one target on the top (the same as that built with the former Android.mk file) Test: TreeHugger Change-Id: If79e3e5e7bc18a6fddcf56c0168daea93726afc6
Diffstat (limited to 'rust/compiler.go')
0 files changed, 0 insertions, 0 deletions