platform_vendor_tequila/build/soong/Android.bp
LuK1337 43442c29c7
lineage: Mark generated_kernel_includes as recovery_available
Change-Id: Id4eed981e601244330a8ced1d5433254d808b3fd
2019-09-09 13:05:13 -07:00

46 lines
1.3 KiB
Text

bootstrap_go_package {
name: "soong-lineage",
pkgPath: "lineage/soong/android",
srcs: [
"android/variable.go",
],
}
bootstrap_go_package {
name: "soong-lineage-generator",
pkgPath: "lineage/soong/generator",
deps: [
"blueprint",
"blueprint-pathtools",
"soong",
"soong-android",
"soong-shared",
],
srcs: [
"generator/generator.go",
"generator/variables.go",
],
pluginFor: ["soong_build"],
}
lineage_generator {
name: "generated_kernel_includes",
// The headers make command
cmd: "$(PATH_OVERRIDE_SOONG) $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_FLAGS) -C $(TARGET_KERNEL_SOURCE) O=$(KERNEL_BUILD_OUT_PREFIX)$(genDir) ARCH=$(KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) headers_install",
// Directories that can be imported by a cc_* module generated_headers property
export_include_dirs: ["usr/include", "usr/techpack/audio/include"],
// Sources for dependency tracking
dep_root: "$(TARGET_KERNEL_SOURCE)",
dep_files: [ "Makefile", "include/**/*", "arch/$(KERNEL_ARCH)/include/**/*", "techpack/audio/include/**/*"],
}
cc_library_headers {
name: "generated_kernel_headers",
generated_headers: ["generated_kernel_includes"],
export_generated_headers: ["generated_kernel_includes"],
vendor_available: true,
recovery_available: true,
}