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

Commit 3b1e6b13 authored by Bob Badour's avatar Bob Badour
Browse files

DO NOT MERGE Allow cross-cutting dependencies like licenses.

Test: m nothing

Bug: 180688789

Bug: 171227245
Bug: 151953481
Bug: 151177513
Bug: 67772237
Change-Id: I6e8ce01898e174a9587469157485debbb7b96980
parent 3c7f155b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1841,6 +1841,16 @@ func (m *moduleContext) FinalModule() Module {
	return m.bp.FinalModule().(Module)
}

// IsMetaDependencyTag returns true for cross-cutting metadata dependencies.
func IsMetaDependencyTag(tag blueprint.DependencyTag) bool {
	if tag == licenseKindTag {
		return true
	} else if tag == licensesTag {
		return true
	}
	return false
}

func (m *moduleContext) ModuleSubDir() string {
	return m.bp.ModuleSubDir()
}