Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83150667 authored by Guang Zhu's avatar Guang Zhu
Browse files

update build rules to use /data/local/tests/unrestricted

... for native tests. This new location has the appropriate
settings for debuggerd to generate valid backtraces in case
of test binary crash.

Bug: 167308193
Bug: 199904562
Test: compile
Change-Id: Ic106011a79f0aec86896b305616cf5590ab2eb2d
parent e168f15a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -357,8 +357,7 @@ func (test *testBinary) linkerFlags(ctx ModuleContext, flags Flags) Flags {
}

func (test *testBinary) install(ctx ModuleContext, file android.Path) {
	// TODO: (b/167308193) Switch to /data/local/tests/unrestricted as the default install base.
	testInstallBase := "/data/local/tmp"
	testInstallBase := "/data/local/tests/unrestricted"
	if ctx.inVendor() || ctx.useVndk() {
		testInstallBase = "/data/local/tests/vendor"
	}