Fix: 'required' property is ignored am: f7df9b7e55
am: f71e439bc9
Change-Id: Id621ffc23766da4e6854de363f26a455cfb64186
This commit is contained in:
commit
31b2ec74d3
1 changed files with 1 additions and 4 deletions
|
@ -59,7 +59,7 @@ func (c *Module) AndroidMk() android.AndroidMkData {
|
|||
|
||||
ret := android.AndroidMkData{
|
||||
OutputFile: c.outputFile,
|
||||
Required: c.Properties.AndroidMkRuntimeLibs,
|
||||
Required: append(c.Properties.AndroidMkRuntimeLibs, c.Properties.ApexesProvidingSharedLibs...),
|
||||
Include: "$(BUILD_SYSTEM)/soong_cc_prebuilt.mk",
|
||||
|
||||
Extra: []android.AndroidMkExtraFunc{
|
||||
|
@ -76,9 +76,6 @@ func (c *Module) AndroidMk() android.AndroidMkData {
|
|||
if len(c.Properties.AndroidMkWholeStaticLibs) > 0 {
|
||||
fmt.Fprintln(w, "LOCAL_WHOLE_STATIC_LIBRARIES := "+strings.Join(c.Properties.AndroidMkWholeStaticLibs, " "))
|
||||
}
|
||||
if len(c.Properties.ApexesProvidingSharedLibs) > 0 {
|
||||
fmt.Fprintln(w, "LOCAL_REQUIRED_MODULES := "+strings.Join(c.Properties.ApexesProvidingSharedLibs, " "))
|
||||
}
|
||||
fmt.Fprintln(w, "LOCAL_SOONG_LINK_TYPE :=", c.getMakeLinkType())
|
||||
if c.useVndk() {
|
||||
fmt.Fprintln(w, "LOCAL_USE_VNDK := true")
|
||||
|
|
Loading…
Reference in a new issue