Handle partial link of a single object with a linker script. am: ab65ba9481
am: 89c1d5ff71
am: 2f46a1c7fd
Change-Id: Ib6888f8246b38aeb564308a6e16902aedcbe509f
This commit is contained in:
@@ -104,7 +104,7 @@ func (object *objectLinker) link(ctx ModuleContext,
|
|||||||
var outputFile android.Path
|
var outputFile android.Path
|
||||||
builderFlags := flagsToBuilderFlags(flags)
|
builderFlags := flagsToBuilderFlags(flags)
|
||||||
|
|
||||||
if len(objs.objFiles) == 1 {
|
if len(objs.objFiles) == 1 && String(object.Properties.Linker_script) == "" {
|
||||||
outputFile = objs.objFiles[0]
|
outputFile = objs.objFiles[0]
|
||||||
|
|
||||||
if String(object.Properties.Prefix_symbols) != "" {
|
if String(object.Properties.Prefix_symbols) != "" {
|
||||||
|
Reference in New Issue
Block a user