Merge "Filter out headers generated by bazel in snapshot." am: 6715377e58
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2186395 Change-Id: Ie24a8e1b6732a8015789b280b8dfceab5c288d42 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -771,6 +771,12 @@ func GlobHeadersForSnapshot(ctx android.ModuleContext, paths android.Paths) andr
|
|||||||
if strings.HasPrefix(dir, android.PathForOutput(ctx).String()) {
|
if strings.HasPrefix(dir, android.PathForOutput(ctx).String()) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Filter out the generated headers from bazel.
|
||||||
|
if strings.HasPrefix(dir, android.PathForBazelOut(ctx, "bazel-out").String()) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
// libeigen wrongly exports the root directory "external/eigen". But only two
|
// libeigen wrongly exports the root directory "external/eigen". But only two
|
||||||
// subdirectories "Eigen" and "unsupported" contain exported header files. Even worse
|
// subdirectories "Eigen" and "unsupported" contain exported header files. Even worse
|
||||||
// some of them have no extension. So we need special treatment for libeigen in order
|
// some of them have no extension. So we need special treatment for libeigen in order
|
||||||
|
Reference in New Issue
Block a user