Add order-only dependency on shared libraries
Improve the dependency accuracy by adding an order-only dependency on the shared library alongside the existing depenency on the table of contents file. The dependency won't cause the module to be rebuilt when the the shared library changes, but will allow anything using the ninja graph for sandboxing to know the dependency exists. Test: manual Change-Id: I3accbcabee62fa0ad3eb3d1aaedc5a4bffe27308
This commit is contained in:
parent
e070c3a26b
commit
58dd6a92e5
|
@ -804,6 +804,7 @@ func transformObjToDynamicBinary(ctx android.ModuleContext,
|
||||||
ImplicitOutputs: implicitOutputs,
|
ImplicitOutputs: implicitOutputs,
|
||||||
Inputs: objFiles,
|
Inputs: objFiles,
|
||||||
Implicits: deps,
|
Implicits: deps,
|
||||||
|
OrderOnly: sharedLibs,
|
||||||
Args: args,
|
Args: args,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue