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:
Dan Willemsen
2017-07-10 12:29:42 -07:00
parent d773eb3e86
commit fd7310d95a

View File

@@ -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() {