diff options
| author | 2020-06-01 17:55:16 +0800 | |
|---|---|---|
| committer | 2020-10-29 10:48:17 +0000 | |
| commit | e73c5a074dd89ef3409116e8334f1001ecbc31c0 (patch) | |
| tree | 058245a78af405c5f19195d8876d195841829094 /tools/warn/cpp_warn_patterns.py | |
| parent | 67e13411000b075e9e74cbb8263d42c1c2983f53 (diff) | |
Fix missing required dependency caused by circular dependency
Fix a bug where if module A requires module B, and for whatever reason
module A and B have some common installed files, then all required
dependencies of the common files would be lost.
For example:
```
# A requires B
ALL_MODULES.A.INSTALLED := a
ALL_MODULES.B.INSTALLED := a b
```
Right now the build system wouldn't generate any dependency for `a`.
However the correct behavior should be: `a` has a order-only dependency
on `b`.
Bug: 157444528
Test: Check generated build-*.ninja
Change-Id: Iec60231f6597ec46077393d1defa109b9c07b208
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions