android_kernel_xiaomi_sm8450/Android.bp
Elliot Berman 43bd98fecc Android.bp: Clean up qti_kernel_headers
qti_kernel_headers library is not applicable in split SI system and can
be cleaned up.

Change-Id: Ia521c6cd206f62f61e3faa224c84aafe00279e0d
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-01-06 21:50:23 -08:00

23 lines
488 B
Plaintext

cc_binary_host {
name: "unifdef",
srcs: ["scripts/unifdef.c"],
sanitize: {
never: true,
},
}
genrule {
name: "gen-headers_install.sh",
srcs: ["scripts/headers_install.sh"],
tools: ["unifdef"],
out: ["headers_install.sh"],
cmd: "sed 's+scripts/unifdef+$(location unifdef)+g' $(in) > $(out)",
}
cc_prebuilt_binary {
name: "headers_install.sh",
device_supported: false,
host_supported: true,
srcs: [":gen-headers_install.sh"],
}