ANDROID: Set ddk_module_headers.

This is so that ddk_modules building against GKI or device kernel
won't need to specify dependency on //common:all_headers_* explicitly.

Bug: 308404299
Change-Id: Ib2b2fb1c22de3f0330a899c344802d90e81dc519
Signed-off-by: HONG Yifan <elsk@google.com>
This commit is contained in:
HONG Yifan
2024-08-05 14:34:20 -07:00
committed by Treehugger Robot
parent e337dea349
commit 1e66318218
+2
View File
@@ -93,6 +93,7 @@ define_common_kernels(target_configs = {
"kernel_aarch64": {
"module_implicit_outs": get_gki_modules_list("arm64") + get_kunit_modules_list("arm64"),
"make_goals": _GKI_AARCH64_MAKE_GOALS,
"ddk_module_headers": [":all_headers_aarch64"],
"ddk_headers_archive": ":kernel_aarch64_ddk_headers_archive",
"extra_dist": [
":test_mappings_zip",
@@ -101,6 +102,7 @@ define_common_kernels(target_configs = {
},
"kernel_x86_64": {
"kmi_symbol_list_strict_mode": False,
"ddk_module_headers": [":all_headers_x86_64"],
"module_implicit_outs": get_gki_modules_list("x86_64") + get_kunit_modules_list("x86_64"),
"make_goals": _GKI_X86_64_MAKE_GOALS,
"extra_dist": [