summaryrefslogtreecommitdiff
path: root/sdk/sdk.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2019-12-11 18:34:15 +0000
committer Paul Duffin <paulduffin@google.com> 2019-12-12 11:37:39 +0000
commitc62a5107f8cd70b8328c14df50eef00ab96f7243 (patch)
tree576bb3c7a1cba00528d2f09f31066ef1674a03e4 /sdk/sdk.go
parentac6e608da75454d834db331a21320262f2c7b5a0 (diff)
Discard duplicate operations to copy files to snapshot
Header include directories are copied into the snapshot separately for each cc library that exports them. However, the same include directories can be exported by multiple libraries which caused ninja error because two separate rules (albeit identical) were defined to create the same files. This avoids the duplicate ninja rules by detecting and discarding duplicate copies, i.e. where the source and destination are the same. It will also report an error if two or more different source files are copied to the same destination. Bug: 142918168 Test: m nothing added test and verified it produced two identical copy rules fixed code and verified duplicate copy rules had been eliminated Change-Id: I39e37405035bee5093f96e03248e9e29ed30962c
Diffstat (limited to 'sdk/sdk.go')
0 files changed, 0 insertions, 0 deletions