Raise an error instead of panic in SplitApexJarPairs.
Test: aosp_walleye-userdebug boots Change-Id: I9a1c4ec5c8862b1936820b3cee6db9a85015cb0e
This commit is contained in:
@@ -43,6 +43,14 @@ type PathGlobContext interface {
|
||||
var _ PathContext = SingletonContext(nil)
|
||||
var _ PathContext = ModuleContext(nil)
|
||||
|
||||
// "Null" path context is a minimal path context for a given config.
|
||||
type NullPathContext struct {
|
||||
config Config
|
||||
}
|
||||
|
||||
func (NullPathContext) AddNinjaFileDeps(...string) {}
|
||||
func (ctx NullPathContext) Config() Config { return ctx.config }
|
||||
|
||||
type ModuleInstallPathContext interface {
|
||||
BaseModuleContext
|
||||
|
||||
|
Reference in New Issue
Block a user