Merge "rust_bindgen: respect custom OUT_DIR"

This commit is contained in:
Treehugger Robot 2020-11-05 19:54:46 +00:00 committed by Gerrit Code Review
commit f5b2a5feb7

View file

@ -32,7 +32,7 @@ var (
bindgenClangVersion = "clang-r383902c"
//TODO(b/160803703) Use a prebuilt bindgen instead of the built bindgen.
_ = pctx.SourcePathVariable("bindgenCmd", "out/host/${config.HostPrebuiltTag}/bin/bindgen")
_ = pctx.HostBinToolVariable("bindgenCmd", "bindgen")
_ = pctx.SourcePathVariable("bindgenClang",
"${cc_config.ClangBase}/${config.HostPrebuiltTag}/"+bindgenClangVersion+"/bin/clang")
_ = pctx.SourcePathVariable("bindgenLibClang",