diff options
Diffstat (limited to 'sdk/testing.go')
| -rw-r--r-- | sdk/testing.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdk/testing.go b/sdk/testing.go index 0b280efa3..5f520e5b0 100644 --- a/sdk/testing.go +++ b/sdk/testing.go @@ -80,7 +80,7 @@ func testSdkContext(bp string, fs map[string][]byte, extraOsTypes []android.OsTy } } - ctx := android.NewTestArchContext() + ctx := android.NewTestArchContext(config) // Enable androidmk support. // * Register the singleton @@ -129,7 +129,7 @@ func testSdkContext(bp string, fs map[string][]byte, extraOsTypes []android.OsTy ctx.PreDepsMutators(RegisterPreDepsMutators) ctx.PostDepsMutators(RegisterPostDepsMutators) - ctx.Register(config) + ctx.Register() return ctx, config } |