Simon Shields | 4ed4605 | 2017-08-23 12:03:36 +1000 | [diff] [blame] | 1 | bootstrap_go_package { |
Jackeagle | d6811aa | 2019-09-24 08:26:40 +0200 | [diff] [blame] | 2 | name: "soong-bliss", |
| 3 | pkgPath: "bliss/soong/android", |
Simon Shields | 4ed4605 | 2017-08-23 12:03:36 +1000 | [diff] [blame] | 4 | srcs: [ |
Simon Shields | 4ed4605 | 2017-08-23 12:03:36 +1000 | [diff] [blame] | 5 | "android/variable.go", |
| 6 | ], |
| 7 | } |
Sam Mortimer | 80381b7 | 2018-09-18 15:56:14 -0700 | [diff] [blame] | 8 | |
| 9 | bootstrap_go_package { |
Jackeagle | d6811aa | 2019-09-24 08:26:40 +0200 | [diff] [blame] | 10 | name: "soong-bliss-generator", |
| 11 | pkgPath: "bliss/soong/generator", |
Sam Mortimer | 80381b7 | 2018-09-18 15:56:14 -0700 | [diff] [blame] | 12 | deps: [ |
| 13 | "blueprint", |
| 14 | "blueprint-pathtools", |
| 15 | "soong", |
| 16 | "soong-android", |
| 17 | "soong-shared", |
| 18 | ], |
| 19 | srcs: [ |
| 20 | "generator/generator.go", |
Rashed Abdel-Tawab | 9fa7e80 | 2018-09-18 21:53:24 -0700 | [diff] [blame] | 21 | "generator/variables.go", |
Sam Mortimer | 80381b7 | 2018-09-18 15:56:14 -0700 | [diff] [blame] | 22 | ], |
| 23 | pluginFor: ["soong_build"], |
| 24 | } |
Rashed Abdel-Tawab | 9fa7e80 | 2018-09-18 21:53:24 -0700 | [diff] [blame] | 25 | |
Jackeagle | d6811aa | 2019-09-24 08:26:40 +0200 | [diff] [blame] | 26 | bliss_generator { |
Rashed Abdel-Tawab | 9fa7e80 | 2018-09-18 21:53:24 -0700 | [diff] [blame] | 27 | name: "generated_kernel_includes", |
| 28 | |
| 29 | // The headers make command |
Rashed Abdel-Tawab | ba5ea35 | 2019-09-07 17:01:13 -0700 | [diff] [blame] | 30 | 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-Tawab | 9fa7e80 | 2018-09-18 21:53:24 -0700 | [diff] [blame] | 31 | |
| 32 | // Directories that can be imported by a cc_* module generated_headers property |
dianlujitao | 9dfd5f7 | 2020-03-03 17:26:32 +0800 | [diff] [blame] | 33 | export_include_dirs: [ |
dianlujitao | 83d2fa4 | 2020-06-28 22:16:44 +0800 | [diff] [blame] | 34 | "usr/audio/include/uapi", |
dianlujitao | 9dfd5f7 | 2020-03-03 17:26:32 +0800 | [diff] [blame] | 35 | "usr/include", |
| 36 | "usr/include/audio/include/uapi", |
| 37 | "usr/techpack/audio/include" |
| 38 | ], |
Rashed Abdel-Tawab | 9fa7e80 | 2018-09-18 21:53:24 -0700 | [diff] [blame] | 39 | |
| 40 | // Sources for dependency tracking |
| 41 | dep_root: "$(TARGET_KERNEL_SOURCE)", |
Bruno Martins | 6ea9815 | 2018-11-05 11:25:57 +0000 | [diff] [blame] | 42 | dep_files: [ "Makefile", "include/**/*", "arch/$(KERNEL_ARCH)/include/**/*", "techpack/audio/include/**/*"], |
Rashed Abdel-Tawab | 9fa7e80 | 2018-09-18 21:53:24 -0700 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | cc_library_headers { |
| 46 | name: "generated_kernel_headers", |
| 47 | generated_headers: ["generated_kernel_includes"], |
| 48 | export_generated_headers: ["generated_kernel_includes"], |
| 49 | vendor_available: true, |
LuK1337 | 43442c2 | 2019-09-09 21:58:19 +0200 | [diff] [blame] | 50 | recovery_available: true, |
Rashed Abdel-Tawab | 9fa7e80 | 2018-09-18 21:53:24 -0700 | [diff] [blame] | 51 | } |