From 3ff624f24b56e5edbb593d9da994083ccb0cb278 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Mon, 8 Oct 2018 11:49:32 +0800 Subject: [PATCH] Switch include path of header-abi-dumper headers This commit switches the include path of header-abi-dumper clang headers to `prebuilts/clang-tools/${os}-x86/clang-headers`. This decouples the cross git repositories dependencies. Bug: 111579848 Test: development/vndk/tools/header-checker/utils/create_reference_dumps.py Change-Id: I53083298ca7be39b3fbaffb123146c12c189e7c3 --- cc/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/builder.go b/cc/builder.go index d16efd004..d9a6caec4 100644 --- a/cc/builder.go +++ b/cc/builder.go @@ -169,7 +169,7 @@ var ( // -w has been added since header-abi-dumper does not need to produce any sort of diagnostic information. sAbiDump = pctx.AndroidStaticRule("sAbiDump", blueprint.RuleParams{ - Command: "rm -f $out && $sAbiDumper -o ${out} $in $exportDirs -- $cFlags -w -isystem ${config.RSIncludePath}", + Command: "rm -f $out && $sAbiDumper -o ${out} $in $exportDirs -- $cFlags -w -isystem prebuilts/clang-tools/${config.HostPrebuiltTag}/clang-headers", CommandDeps: []string{"$sAbiDumper"}, }, "cFlags", "exportDirs")