Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca678c4a authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Make compat-config to generate output files too

Flag: EXEMPT host test change only
Bug: 367706429
Test: m nothing --no-skip-soong-tests
Test: `m ravenwood-runtime` and make sure out/host/linux-x86/testcases/ravenwood-runtime/ravenwood-data/
    has framework-platform-compat-config.xml and services-platform-compat-config.xml
Change-Id: I92b545c480890815cd886b8ecf50ed99ffe7eea1
parent 9d96d1f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ func (p *platformCompatConfig) GenerateAndroidBuildActions(ctx android.ModuleCon
	p.installConfigFile = android.PathForModuleInstall(ctx, "etc", "compatconfig", p.configFile.Base())
	rule.Build(configFileName, "Extract compat/compat_config.xml and install it")
	ctx.InstallFile(p.installDirPath, p.configFile.Base(), p.configFile)
	ctx.SetOutputFiles(android.Paths{p.configFile}, "")
}

func (p *platformCompatConfig) AndroidMkEntries() []android.AndroidMkEntries {