diff options
author | 2024-08-26 18:09:15 +0000 | |
---|---|---|
committer | 2024-08-27 00:16:22 +0000 | |
commit | ec810545481e6530b5f3c3da788e09aaae187c83 (patch) | |
tree | 2a40247ff53918534a57e91fc3a5c2c7551695ec /android/androidmk_test.go | |
parent | 91a1e9f894a2659f1e7d4d271de785bc8d2d4231 (diff) |
Remove licenseMetadataFile and installFiles from ModuleBase.
Bug: 358425833
Test: Manually verified all the generated ninja and mk files and CI.
Change-Id: I447ec74b7f9c3b8c686ed41511e2051f40ac88f8
Diffstat (limited to 'android/androidmk_test.go')
-rw-r--r-- | android/androidmk_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/androidmk_test.go b/android/androidmk_test.go index 72b8654a7..c37eeabff 100644 --- a/android/androidmk_test.go +++ b/android/androidmk_test.go @@ -46,7 +46,6 @@ const ( func (m *customModule) GenerateAndroidBuildActions(ctx ModuleContext) { - m.base().licenseMetadataFile = PathForOutput(ctx, "meta_lic") var defaultDistPaths Paths // If the dist_output_file: true then create an output file that is stored in @@ -276,7 +275,8 @@ func TestGetDistForGoals(t *testing.T) { ) } for idx, line := range androidMkLines { - expectedLine := strings.ReplaceAll(expectedAndroidMkLines[idx], "meta_lic", module.base().licenseMetadataFile.String()) + expectedLine := strings.ReplaceAll(expectedAndroidMkLines[idx], "meta_lic", + OtherModuleProviderOrDefault(ctx, module, InstallFilesProvider).LicenseMetadataFile.String()) if line != expectedLine { t.Errorf( "Expected AndroidMk line to be '%s', got '%s'", |