diff options
author | 2025-03-21 20:05:43 -0700 | |
---|---|---|
committer | 2025-03-21 20:05:43 -0700 | |
commit | 1248ced0cad29018090e65e3762585cdd774e864 (patch) | |
tree | 2789f57ad33c7bf8a28df9ded872139adcf05ac7 /apex/apex_test.go | |
parent | 29e0a00b2a9010b7b30f004fb9f6a2ad7ea20bcb (diff) | |
parent | 716fc3438bce5e2018b47cf906195b4f9aecea5c (diff) |
Snap for 13256841 from 716fc3438bce5e2018b47cf906195b4f9aecea5c to 25Q2-release
Change-Id: I4c3a8288d87d662237450f7cb929abe4669668ca
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r-- | apex/apex_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index 36a697487..327e018f4 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -11468,6 +11468,16 @@ func TestInstallationRulesForMultipleApexPrebuilts(t *testing.T) { // 1. The contents of the selected apex_contributions are visible to make // 2. The rest of the apexes in the mainline module family (source or other prebuilt) is hidden from make checkHideFromMake(t, ctx, tc.expectedVisibleModuleName, tc.expectedHiddenModuleNames) + + // Check that source_apex_name is written as LOCAL_MODULE for make packaging + if tc.expectedVisibleModuleName == "prebuilt_com.google.android.foo.v2" { + apex := ctx.ModuleForTests(t, "prebuilt_com.google.android.foo.v2", "android_common_prebuilt_com.android.foo").Module() + entries := android.AndroidMkEntriesForTest(t, ctx, apex)[0] + + expected := "com.google.android.foo" + actual := entries.EntryMap["LOCAL_MODULE"][0] + android.AssertStringEquals(t, "LOCAL_MODULE", expected, actual) + } } } |