Merge "Don't pass host cross linux musl modules to Make" am: f47fe38686
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2139099 Change-Id: I97e79b3df1e605d20276f06c407a3ce74a1edfd8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -945,7 +945,10 @@ func shouldSkipAndroidMkProcessing(module *ModuleBase) bool {
|
||||
return !module.Enabled() ||
|
||||
module.commonProperties.HideFromMake ||
|
||||
// Make does not understand LinuxBionic
|
||||
module.Os() == LinuxBionic
|
||||
module.Os() == LinuxBionic ||
|
||||
// Make does not understand LinuxMusl, except when we are building with USE_HOST_MUSL=true
|
||||
// and all host binaries are LinuxMusl
|
||||
(module.Os() == LinuxMusl && module.Target().HostCross)
|
||||
}
|
||||
|
||||
// A utility func to format LOCAL_TEST_DATA outputs. See the comments on DataPath to understand how
|
||||
|
Reference in New Issue
Block a user