Generate deps file for rust_bindgen modules.
Bug: 162007475 Test: deps file generated containing the dependent header files. Change-Id: I4abaf8e76875f7657c1b8386749217adcba1ffa2
This commit is contained in:
@@ -41,8 +41,10 @@ var (
|
||||
bindgen = pctx.AndroidStaticRule("bindgen",
|
||||
blueprint.RuleParams{
|
||||
Command: "CLANG_PATH=$bindgenClang LIBCLANG_PATH=$bindgenLibClang RUSTFMT=${config.RustBin}/rustfmt " +
|
||||
"$bindgenCmd $flags $in -o $out -- $cflags",
|
||||
"$bindgenCmd $flags $in -o $out -- -MD -MF $out.d $cflags",
|
||||
CommandDeps: []string{"$bindgenCmd"},
|
||||
Deps: blueprint.DepsGCC,
|
||||
Depfile: "$out.d",
|
||||
},
|
||||
"flags", "cflags")
|
||||
)
|
||||
|
Reference in New Issue
Block a user