From a5f11e426c166a555858e782fba119f8e6ca1234 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Tue, 17 Apr 2018 12:19:51 +0900 Subject: [PATCH] Friendlier message for ABI reference update This change is to let people to just copy & paste the update command Test: break the ABI of libbinder intentionally and make. The message includes absolute path to the create_reference_dump.py tool. Change-Id: If7703d64be1f51ea4b054aa1e815276e1d6dbc14 --- cc/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/builder.go b/cc/builder.go index cec005646..cb09d0909 100644 --- a/cc/builder.go +++ b/cc/builder.go @@ -203,7 +203,7 @@ var ( commandStr := "($sAbiDiffer $allowFlags -lib $libName -arch $arch -check-all-apis -o ${out} -new $in -old $referenceDump)" distAbiDiffDir := android.PathForDist(ctx, "abidiffs") - commandStr += "|| (echo ' ---- Please update abi references by running platform/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l ${libName} ----'" + commandStr += "|| (echo ' ---- Please update abi references by running $$ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l ${libName} ----'" if distAbiDiffDir.Valid() { commandStr += " && (mkdir -p " + distAbiDiffDir.String() + " && cp ${out} " + distAbiDiffDir.String() + ")" }