Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 713387dc authored by Daniel Norman's avatar Daniel Norman Committed by Bill Peckham
Browse files

Adds 'kernel/' to vendor proprietary dirs.

Bug: 161722183
Test: m nothing
Change-Id: I45c9e8623304617268a725ea5f0c353352f80590
parent 89e4882d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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",