Update apex dependency even for test and non-installable APEXes
The apex dependency map wasn't updated for test or non-installable APEXes to work around the problem that a module being in such APEX prevented the module from being installed in the system partition. Since that problem is not happening any more, removing the unnecessary work-around. Bug: 123892969 Test: m Change-Id: I43e07a9611a3e08ff39b9a64454b1c67949d35bc
This commit is contained in:
@@ -2361,11 +2361,6 @@ func TestTestApex(t *testing.T) {
|
||||
|
||||
// Ensure that the platform variant ends with _shared
|
||||
ensureListContains(t, ctx.ModuleVariantsForTests("mylib_common_test"), "android_arm64_armv8-a_shared")
|
||||
|
||||
if android.InAnyApex("mylib_common_test") {
|
||||
t.Log("Found mylib_common_test in some apex!")
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
|
||||
func TestApexWithTarget(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user