ANDROID: kleaf: User unsafe headers

Allow user to specify additional unsafe headers for DDK. This option is
parallel to --user_kmi_symbol_lists which allows DDK users to specify
out-of-ACK symbol lists which are development stage and not yet pushed
to ACK. Specifying unsafe headers via command line is useful for adding
new unsafe headers quickly due to recent changes in ACK. This reduces
integration delay of new kernel versions for users of DDK.

Bug: 376318144
Change-Id: I3fc0e5d90df1acb30896f09c58a665e8b882be13
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
This commit is contained in:
Elliot Berman
2024-10-29 14:01:16 -07:00
committed by Matthias Männich
parent 226ad3da56
commit a7af441cff
+3 -1
View File
@@ -1547,7 +1547,9 @@ filegroup(
# - be moved into all_headers
ddk_headers(
name = "all_headers_unsafe",
hdrs = [],
hdrs = [
"//build/kernel/kleaf:user_ddk_unsafe_headers",
],
# The list of include directories where source files can #include headers
# from. In other words, these are the `-I` option to the C compiler.
# Unsafe include directories are appended to ccflags-y.