Improve handling of generated include dirs
The exported include dirs includes both source and generated directories (e.g. containing aidl generated headers). The latter are always arch specific so if they are present they make all the include directories arch specific. This change separates the source and generated include dirs so that the source include dirs (which are probably not arch specific) can be optimized separately from the arch specific generated include dirs. The FilterPathList() func was refactored to extract the more general FilterPathListPredicate() func. A number of tests needed to be updated to reflect the more optimal snapshot creation. Bug: 142918168 Test: m checkbuild Change-Id: Id1a23d35a45b250ae2168834f9c2a65c86a5fd77
Loading
Please register or sign in to comment