Add dependency support for yasm
Bug: 37719672 Test: lunch aosp_x86-eng; m native Test: m out/soong/.intermediates/external/libvpx/libvpx/android_x86_static_core/obj/external/libvpx/libvpx/vp8/common/x86/copy_sse2.o Test: NINJA_ARGS="-t deps out/soong/.intermediates/external/libvpx/libvpx/android_x87_static_core/obj/external/libvpx/libvpx/vp8/common/x86/copy_sse2.o" m Change-Id: I01763b5870f994f7f0c6ac9d10f112f73addd7c7
This commit is contained in:
parent
0b062130dc
commit
1d3e545a97
1 changed files with 3 additions and 1 deletions
|
@ -151,8 +151,10 @@ var (
|
|||
|
||||
yasm = pctx.AndroidStaticRule("yasm",
|
||||
blueprint.RuleParams{
|
||||
Command: "$yasmCmd $asFlags -o $out $in",
|
||||
Command: "$yasmCmd $asFlags -o $out $in && $yasmCmd $asFlags -M $in >$out.d",
|
||||
CommandDeps: []string{"$yasmCmd"},
|
||||
Depfile: "$out.d",
|
||||
Deps: blueprint.DepsGCC,
|
||||
},
|
||||
"asFlags")
|
||||
|
||||
|
|
Loading…
Reference in a new issue