ANDROID: Prune default dependencies for kernel_build
* Files under gki/ directory are not direct inputs for the
kernel_build, they are inputs to ABI related rules or for symbol lists
but whenever used they are directly specified as inputs.
* This was tested with the following query before and after the change:
$ tools/bazel aquery 'inputs(".*\.stg", "//common:kernel_aarch64")' --output=summary
* This is the second attempt for this change, but this time there are
two major differences:
* The mechanism to generate the lists of protected exports and
allowed symbols is handled by modpost.
* http://r.android.com/3604890 & http://r.android.com/3555708 set
the correct input dependencies on lists under this directory.
* This was tested using the --sandbox_debug option and inspecting the
generated header files for the runtime protection mechanism.
Bug: 401193617
Change-Id: Ie00de778f097ef7243273e6496fd696a1a02a5a7
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
This commit is contained in:
@@ -169,6 +169,9 @@ filegroup(
|
||||
# cscope files
|
||||
"cscope.*",
|
||||
"ncscope.*",
|
||||
|
||||
# ABI and symbol list files
|
||||
"gki/**",
|
||||
],
|
||||
),
|
||||
visibility = ["//visibility:public"],
|
||||
|
||||
Reference in New Issue
Block a user