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
Loading
Please register or sign in to comment