2017-08-23 04:03:36 +02:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-lineage",
|
|
|
|
pkgPath: "lineage/soong/android",
|
|
|
|
srcs: [
|
|
|
|
"android/variable.go",
|
|
|
|
],
|
|
|
|
}
|
2018-09-19 00:56:14 +02:00
|
|
|
|
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-lineage-generator",
|
|
|
|
pkgPath: "lineage/soong/generator",
|
|
|
|
deps: [
|
|
|
|
"blueprint",
|
|
|
|
"blueprint-pathtools",
|
|
|
|
"soong",
|
|
|
|
"soong-android",
|
|
|
|
"soong-shared",
|
|
|
|
],
|
|
|
|
srcs: [
|
|
|
|
"generator/generator.go",
|
2018-09-19 06:53:24 +02:00
|
|
|
"generator/variables.go",
|
2018-09-19 00:56:14 +02:00
|
|
|
],
|
|
|
|
pluginFor: ["soong_build"],
|
|
|
|
}
|
2018-09-19 06:53:24 +02:00
|
|
|
|
|
|
|
lineage_generator {
|
|
|
|
name: "generated_kernel_includes",
|
|
|
|
|
|
|
|
// The headers make command
|
2019-09-08 02:01:13 +02:00
|
|
|
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",
|
2018-09-19 06:53:24 +02:00
|
|
|
|
|
|
|
// Directories that can be imported by a cc_* module generated_headers property
|
2018-11-28 09:54:35 +01:00
|
|
|
export_include_dirs: ["usr/include", "usr/techpack/audio/include"],
|
2018-09-19 06:53:24 +02:00
|
|
|
|
|
|
|
// Sources for dependency tracking
|
|
|
|
dep_root: "$(TARGET_KERNEL_SOURCE)",
|
2018-11-05 12:25:57 +01:00
|
|
|
dep_files: [ "Makefile", "include/**/*", "arch/$(KERNEL_ARCH)/include/**/*", "techpack/audio/include/**/*"],
|
2018-09-19 06:53:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_headers {
|
|
|
|
name: "generated_kernel_headers",
|
|
|
|
generated_headers: ["generated_kernel_includes"],
|
|
|
|
export_generated_headers: ["generated_kernel_includes"],
|
|
|
|
vendor_available: true,
|
2019-09-09 21:58:19 +02:00
|
|
|
recovery_available: true,
|
2018-09-19 06:53:24 +02:00
|
|
|
}
|