From a7af441cff1b49add79fd393163496fca6baff3c Mon Sep 17 00:00:00 2001 From: Elliot Berman Date: Tue, 29 Oct 2024 14:01:16 -0700 Subject: [PATCH] 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 --- BUILD.bazel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index 0237ce1c7866..eb196b2fd9ce 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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.