Add some initial benchmarking for bp2build.
Test: go test -benchmark=. in bp2build directory Change-Id: I8275c38461078cc6100fbc89837177de0edc9d68
This commit is contained in:
@@ -334,9 +334,7 @@ custom {
|
||||
config := android.TestConfig(buildDir, nil, testCase.bp, nil)
|
||||
ctx := android.NewTestContext(config)
|
||||
|
||||
ctx.RegisterModuleType("custom", customModuleFactory)
|
||||
ctx.RegisterBp2BuildMutator("custom", customBp2BuildMutator)
|
||||
ctx.RegisterForBazelConversion()
|
||||
registerCustomModuleForBp2buildConversion(ctx)
|
||||
|
||||
_, errs := ctx.ParseFileList(dir, []string{"Android.bp"})
|
||||
if errored(t, "", errs) {
|
||||
|
Reference in New Issue
Block a user