From 8f74fe6e145f62b1b3da55db2b973f69ef7125f4 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Mon, 28 Jan 2019 12:14:54 +0800 Subject: [PATCH] Fix a typo related to abidiffs This commit fixes a typo related to abidiffs. The generated abidiffs should be copied to `$$DIST_DIR/abidiffs` instead of `$$DIST_DIR/abidiff`. (See also. https://android-review.googlesource.com/796458/) Bug: 123491909 Test: lunch aosp_x86-userdebug && make dist Change-Id: I89c13580344a27cac5ea0d00497f5bba3227cf61 --- cc/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/builder.go b/cc/builder.go index 5dbd23e0d..b012d6f06 100644 --- a/cc/builder.go +++ b/cc/builder.go @@ -199,7 +199,7 @@ var ( // TODO(b/78139997): Add -check-all-apis back commandStr := "($sAbiDiffer $allowFlags -lib $libName -arch $arch -o ${out} -new $in -old $referenceDump)" commandStr += "|| (echo ' ---- Please update abi references by running $$ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l ${libName} ----'" - commandStr += " && (mkdir -p $$DIST_DIR/abidiffs && cp ${out} $$DIST_DIR/abidiff/)" + commandStr += " && (mkdir -p $$DIST_DIR/abidiffs && cp ${out} $$DIST_DIR/abidiffs/)" commandStr += " && exit 1)" return blueprint.RuleParams{ Command: commandStr,