From d0015db164bcc4f684b6bab44f6cafb5f28cbf81 Mon Sep 17 00:00:00 2001 From: Yifeng Zeng Date: Wed, 5 Mar 2025 18:16:24 -0800 Subject: Skip install deps that is in "data" partition when standalone_test is enabled, they are already installed Bug:352559760 Bug:392663036 Change-Id: I6e39eaf4fd8e050b555d4b3f610c502ea4dce560 Test: m bionic-unit-tests Test: m libunwindstack_unit_test --- cc/test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cc') diff --git a/cc/test.go b/cc/test.go index d2c4b28e8..8b68c5563 100644 --- a/cc/test.go +++ b/cc/test.go @@ -455,6 +455,9 @@ func (test *testBinary) install(ctx ModuleContext, file android.Path) { if standaloneTestDep.SkipInstall() { continue } + if standaloneTestDep.Partition() == "data" { + continue + } test.binaryDecorator.baseInstaller.installStandaloneTestDep(ctx, standaloneTestDep) } } -- cgit v1.2.3-59-g8ed1b