Loading apex/apex.go +1 −1 Original line number Diff line number Diff line Loading @@ -2000,7 +2000,7 @@ func (a *apexBundle) checkApexAvailability(ctx android.ModuleContext) { if externalDep || to.AvailableFor(apexName) || whitelistedApexAvailable(apexName, to) { return } ctx.ModuleErrorf("requires %q that is not available for the APEX.", to.Name()) ctx.ModuleErrorf("%q requires %q that is not available for the APEX.", from.Name(), to.Name()) }) } Loading apex/apex_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3345,7 +3345,7 @@ func TestApexWithTestHelperApp(t *testing.T) { func TestApexPropertiesShouldBeDefaultable(t *testing.T) { // libfoo's apex_available comes from cc_defaults testApexError(t, `"myapex" .*: requires "libfoo" that is not available for the APEX`, ` testApexError(t, `"myapex" .*: "myapex" requires "libfoo" that is not available for the APEX`, ` apex { name: "myapex", key: "myapex.key", Loading Loading
apex/apex.go +1 −1 Original line number Diff line number Diff line Loading @@ -2000,7 +2000,7 @@ func (a *apexBundle) checkApexAvailability(ctx android.ModuleContext) { if externalDep || to.AvailableFor(apexName) || whitelistedApexAvailable(apexName, to) { return } ctx.ModuleErrorf("requires %q that is not available for the APEX.", to.Name()) ctx.ModuleErrorf("%q requires %q that is not available for the APEX.", from.Name(), to.Name()) }) } Loading
apex/apex_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3345,7 +3345,7 @@ func TestApexWithTestHelperApp(t *testing.T) { func TestApexPropertiesShouldBeDefaultable(t *testing.T) { // libfoo's apex_available comes from cc_defaults testApexError(t, `"myapex" .*: requires "libfoo" that is not available for the APEX`, ` testApexError(t, `"myapex" .*: "myapex" requires "libfoo" that is not available for the APEX`, ` apex { name: "myapex", key: "myapex.key", Loading