Support test_suites in cc_benchmark modules
Bug: 35394669 Test: m -j checkbuild Change-Id: I0b521d866edb1706669b8058dc128d389b5582da
This commit is contained in:
@@ -200,6 +200,13 @@ func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.Andr
|
||||
|
||||
func (benchmark *benchmarkDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
|
||||
ctx.subAndroidMk(ret, benchmark.binaryDecorator)
|
||||
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
|
||||
if len(benchmark.Properties.Test_suites) > 0 {
|
||||
fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
|
||||
strings.Join(benchmark.Properties.Test_suites, " "))
|
||||
}
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
func (test *testBinary) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
|
||||
|
Reference in New Issue
Block a user