blob: b3ceb74c11c8dfda2c8f21d77c07b28afe1822fe [file] [log] [blame]
Simon Shields4ed46052017-08-23 12:03:36 +10001bootstrap_go_package {
Jackeagled6811aa2019-09-24 08:26:40 +02002 name: "soong-bliss",
3 pkgPath: "bliss/soong/android",
Simon Shields4ed46052017-08-23 12:03:36 +10004 srcs: [
Simon Shields4ed46052017-08-23 12:03:36 +10005 "android/variable.go",
6 ],
7}
Sam Mortimer80381b72018-09-18 15:56:14 -07008
9bootstrap_go_package {
Jackeagled6811aa2019-09-24 08:26:40 +020010 name: "soong-bliss-generator",
11 pkgPath: "bliss/soong/generator",
Sam Mortimer80381b72018-09-18 15:56:14 -070012 deps: [
13 "blueprint",
14 "blueprint-pathtools",
15 "soong",
16 "soong-android",
17 "soong-shared",
18 ],
19 srcs: [
20 "generator/generator.go",
Rashed Abdel-Tawab9fa7e802018-09-18 21:53:24 -070021 "generator/variables.go",
Sam Mortimer80381b72018-09-18 15:56:14 -070022 ],
23 pluginFor: ["soong_build"],
24}
Rashed Abdel-Tawab9fa7e802018-09-18 21:53:24 -070025
Jackeagled6811aa2019-09-24 08:26:40 +020026bliss_generator {
Rashed Abdel-Tawab9fa7e802018-09-18 21:53:24 -070027 name: "generated_kernel_includes",
28
29 // The headers make command
Rashed Abdel-Tawabba5ea352019-09-07 17:01:13 -070030 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",
Rashed Abdel-Tawab9fa7e802018-09-18 21:53:24 -070031
32 // Directories that can be imported by a cc_* module generated_headers property
dianlujitao9dfd5f72020-03-03 17:26:32 +080033 export_include_dirs: [
dianlujitao83d2fa42020-06-28 22:16:44 +080034 "usr/audio/include/uapi",
dianlujitao9dfd5f72020-03-03 17:26:32 +080035 "usr/include",
36 "usr/include/audio/include/uapi",
37 "usr/techpack/audio/include"
38 ],
Rashed Abdel-Tawab9fa7e802018-09-18 21:53:24 -070039
40 // Sources for dependency tracking
41 dep_root: "$(TARGET_KERNEL_SOURCE)",
Bruno Martins6ea98152018-11-05 11:25:57 +000042 dep_files: [ "Makefile", "include/**/*", "arch/$(KERNEL_ARCH)/include/**/*", "techpack/audio/include/**/*"],
Rashed Abdel-Tawab9fa7e802018-09-18 21:53:24 -070043}
44
45cc_library_headers {
46 name: "generated_kernel_headers",
47 generated_headers: ["generated_kernel_includes"],
48 export_generated_headers: ["generated_kernel_includes"],
49 vendor_available: true,
LuK133743442c22019-09-09 21:58:19 +020050 recovery_available: true,
Rashed Abdel-Tawab9fa7e802018-09-18 21:53:24 -070051}