From ac98aac43f0c8c4f74698ecc8bcd7a2d8a77ccd0 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 25 May 2017 12:35:40 -0700 Subject: [PATCH] Fix warning on the build servers ANDROID_BUILD_TOP is only defined if envsetup.sh is sourced, the current directory in make is the top of the source tree. Test: make -j nothing Change-Id: I24834a6eeb6ac11de0cc19d84650daa086995d99 --- platform_tools_tool_version.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform_tools_tool_version.mk b/platform_tools_tool_version.mk index 73229e6d9..eed2ab50f 100644 --- a/platform_tools_tool_version.mk +++ b/platform_tools_tool_version.mk @@ -17,6 +17,6 @@ # literal instead. Using 0 lets us easily distinguish non-canonical builds. platform_tools_version := $(shell sed \ 's/$${PLATFORM_SDK_VERSION}/0/ ; s/^Pkg.Revision=\(.*\)/\1/p ; d' \ - $(ANDROID_BUILD_TOP)/development/sdk/plat_tools_source.prop_template \ + development/sdk/plat_tools_source.prop_template \ ) tool_version := $(platform_tools_version)-$(BUILD_NUMBER_FROM_FILE)