Adds 'kernel/' to vendor proprietary dirs.

Bug: 161722183
Test: m nothing
Change-Id: I45c9e8623304617268a725ea5f0c353352f80590
This commit is contained in:
Daniel Norman 2020-07-28 16:04:38 -07:00 committed by Bill Peckham
parent 89e4882d37
commit 713387dc75
1 changed files with 6 additions and 2 deletions

View File

@ -484,18 +484,22 @@ type vendorSnapshotSingleton struct {
var (
// Modules under following directories are ignored. They are OEM's and vendor's
// proprietary modules(device/, vendor/, and hardware/).
// proprietary modules(device/, kernel/, vendor/, and hardware/).
// TODO(b/65377115): Clean up these with more maintainable way
vendorProprietaryDirs = []string{
"device",
"kernel",
"vendor",
"hardware",
}
// Modules under following directories are included as they are in AOSP,
// although hardware/ is normally for vendor's own.
// although hardware/ and kernel/ are normally for vendor's own.
// TODO(b/65377115): Clean up these with more maintainable way
aospDirsUnderProprietary = []string{
"kernel/configs",
"kernel/prebuilts",
"kernel/tests",
"hardware/interfaces",
"hardware/libhardware",
"hardware/libhardware_legacy",