Make sure dist files have license metadata.
Bug: 151177513 Bug: 210912771 Bug: 240342946 Test: m droid dist reportmissinglicenses Change-Id: I0c85f6c49a3e9d9bb3219ed6ddfb939d90f80656 Merged-in: I0c85f6c49a3e9d9bb3219ed6ddfb939d90f80656
This commit is contained in:
@@ -271,7 +271,9 @@ func TestPlatformBootclasspath_Dist(t *testing.T) {
|
||||
entries := android.AndroidMkEntriesForTest(t, result.TestContext, platformBootclasspath)
|
||||
goals := entries[0].GetDistForGoals(platformBootclasspath)
|
||||
android.AssertStringEquals(t, "platform dist goals phony", ".PHONY: droidcore\n", goals[0])
|
||||
android.AssertStringEquals(t, "platform dist goals call", "$(call dist-for-goals,droidcore,out/soong/hiddenapi/hiddenapi-flags.csv:hiddenapi-flags.csv)\n", android.StringRelativeToTop(result.Config, goals[1]))
|
||||
android.AssertStringDoesContain(t, "platform dist goals meta check", goals[1], "$(if $(strip $(ALL_TARGETS.")
|
||||
android.AssertStringDoesContain(t, "platform dist goals meta assign", goals[1], "),,$(eval ALL_TARGETS.")
|
||||
android.AssertStringEquals(t, "platform dist goals call", "$(call dist-for-goals,droidcore,out/soong/hiddenapi/hiddenapi-flags.csv:hiddenapi-flags.csv)\n", android.StringRelativeToTop(result.Config, goals[2]))
|
||||
}
|
||||
|
||||
func TestPlatformBootclasspath_HiddenAPIMonolithicFiles(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user