Merge changes I059e639b,I4ebe1da8,Idf4fd37a,Id90082b5 into rvc-dev am: 2743c1def6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/11698189 Change-Id: I62157287035bee39b902421c37cdd7e3213a6222
This commit is contained in:
@@ -548,6 +548,25 @@ func (c *vendorSnapshotBinaryDecorator) AndroidMkEntries(ctx AndroidMkContext, e
|
||||
})
|
||||
}
|
||||
|
||||
func (c *vendorSnapshotObjectLinker) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEntries) {
|
||||
entries.Class = "STATIC_LIBRARIES"
|
||||
|
||||
if c.androidMkVendorSuffix {
|
||||
entries.SubName = vendorSuffix
|
||||
} else {
|
||||
entries.SubName = ""
|
||||
}
|
||||
|
||||
entries.ExtraFooters = append(entries.ExtraFooters,
|
||||
func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) {
|
||||
out := entries.OutputFile.Path()
|
||||
varname := fmt.Sprintf("SOONG_%sOBJECT_%s%s", prefix, name, entries.SubName)
|
||||
|
||||
fmt.Fprintf(w, "\n%s := %s\n", varname, out.String())
|
||||
fmt.Fprintln(w, ".KATI_READONLY: "+varname)
|
||||
})
|
||||
}
|
||||
|
||||
func (c *ndkPrebuiltStlLinker) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEntries) {
|
||||
entries.Class = "SHARED_LIBRARIES"
|
||||
}
|
||||
|
Reference in New Issue
Block a user