Fix kernel_headers module registration
This was breaking SANITIZE_TARGET (and likely others) Test: SANITIZE_TARGET=address m -j nothing Test: out/soong/build.ninja is identical before/after Test: out/soong/Android-aosp_arm64.mk is identical before/after Change-Id: Ic0d6774025761ec9ae9240c109895ab8032e4784
This commit is contained in:
@@ -40,12 +40,9 @@ func kernelHeadersFactory() android.Module {
|
||||
libraryDecorator: library,
|
||||
}
|
||||
|
||||
module.compiler = nil
|
||||
module.linker = stub
|
||||
module.installer = nil
|
||||
|
||||
android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibBoth)
|
||||
return module
|
||||
return module.Init()
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
Reference in New Issue
Block a user