diff options
author | 2020-06-11 13:25:36 -0400 | |
---|---|---|
committer | 2020-06-11 17:12:19 -0400 | |
commit | fc80fe7f2f08c99fd1f24dbe170116efc77f53a0 (patch) | |
tree | fadb92956db34912042ed07dd31f441e6280908d /rust/androidmk.go | |
parent | 52481b445ba541d03d6bed20b7a97f245772f30c (diff) |
Make rust_test file output more similar to cc_test.
This changes the way the output filename is calculated for rust_test
binaries to be more similar to cc_test.
This also removes the option to define multiple test binaries in a
single rust_test module via the TestPerSrc mutator. Now each rust_test
module corresponds to a single test binary.
Bug: 158500462
Test: m -j pin-utils_tests_pin_utils
Test: m -j unicode-xid_device_tests_unicode_xid
Change-Id: I6e0f79dcb4e49fa49d6ebb36abeef67a9eb180a0
Diffstat (limited to 'rust/androidmk.go')
-rw-r--r-- | rust/androidmk.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/androidmk.go b/rust/androidmk.go index 0e2bea340..69d0df562 100644 --- a/rust/androidmk.go +++ b/rust/androidmk.go @@ -99,7 +99,6 @@ func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.Andr func (test *testDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) { test.binaryDecorator.AndroidMk(ctx, ret) ret.Class = "NATIVE_TESTS" - ret.SubName = test.getMutatedModuleSubName(ctx.Name()) ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) { if len(test.Properties.Test_suites) > 0 { fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=", |