platform_vendor_tequila/build/soong/Android.bp
Rashed Abdel-Tawab dfc3d1830d
kernel: Use prebuilt binaries
perl, lz4c, and a bunch of other binaries are not allowed anymore.
So we need to provide our own.

Change-Id: Idbc88b76247b3dda7c5d52e5eed2d548c33f6f2d
2019-09-09 12:19:44 -07:00

45 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=$(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,
}