diff options
author | Dan Willemsen <dwillemsen@google.com> | 2017-07-10 12:29:42 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2017-07-10 12:30:35 -0700 |
commit | fd7310d95af0828df05f70549b5fde2b8c574ec0 (patch) | |
tree | d3eae0dbd9056b7e61e42787d4166700c8650b24 /cc | |
parent | d773eb3e8673162af6c841306c5e4ca7fabe4d51 (diff) | |
download | build_soong-fd7310d95af0828df05f70549b5fde2b8c574ec0.tar.gz build_soong-fd7310d95af0828df05f70549b5fde2b8c574ec0.tar.bz2 build_soong-fd7310d95af0828df05f70549b5fde2b8c574ec0.zip |
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
Diffstat (limited to 'cc')
-rw-r--r-- | cc/kernel_headers.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cc/kernel_headers.go b/cc/kernel_headers.go index c66fca68..42dc7701 100644 --- a/cc/kernel_headers.go +++ b/cc/kernel_headers.go @@ -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() { |