Replace qti_kernel_headers with generated_kernel_headers
* Further avoids edits in CAF repos.
Change-Id: I99f9773e3132de7816c921c9d6b09e3e62b68265
diff --git a/cc/cc.go b/cc/cc.go
index 8b82db6..d17369c 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -2228,7 +2228,7 @@
for _, entry := range list {
// Replace device_kernel_headers with generated_kernel_headers
// for inline kernel building
- if entry == "device_kernel_headers" {
+ if entry == "device_kernel_headers" || entry == "qti_kernel_headers" {
newHeaderLibs = append(newHeaderLibs, "generated_kernel_headers")
continue
}