Commit 30844cb9 authored by Ulises Mendez Martinez's avatar Ulises Mendez Martinez
Browse files

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: default avatarUlises Mendez Martinez <umendez@google.com>
parent bfd0a3a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment