summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen2017-05-25 14:35:40 -0500
committerDan Willemsen2017-05-25 14:35:40 -0500
commitac98aac43f0c8c4f74698ecc8bcd7a2d8a77ccd0 (patch)
tree6adb695cae8e576f0aadd025f89f636e36363236 /platform_tools_tool_version.mk
parentf653eaa322193ea974e6494daeab37ab028df9f1 (diff)
downloadplatform-system-core-ac98aac43f0c8c4f74698ecc8bcd7a2d8a77ccd0.tar.gz
platform-system-core-ac98aac43f0c8c4f74698ecc8bcd7a2d8a77ccd0.tar.xz
platform-system-core-ac98aac43f0c8c4f74698ecc8bcd7a2d8a77ccd0.zip
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: <fresh terminal> make -j nothing Change-Id: I24834a6eeb6ac11de0cc19d84650daa086995d99
Diffstat (limited to 'platform_tools_tool_version.mk')
-rw-r--r--platform_tools_tool_version.mk2
1 files changed, 1 insertions, 1 deletions
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 @@
17# literal instead. Using 0 lets us easily distinguish non-canonical builds. 17# literal instead. Using 0 lets us easily distinguish non-canonical builds.
18platform_tools_version := $(shell sed \ 18platform_tools_version := $(shell sed \
19 's/$${PLATFORM_SDK_VERSION}/0/ ; s/^Pkg.Revision=\(.*\)/\1/p ; d' \ 19 's/$${PLATFORM_SDK_VERSION}/0/ ; s/^Pkg.Revision=\(.*\)/\1/p ; d' \
20 $(ANDROID_BUILD_TOP)/development/sdk/plat_tools_source.prop_template \ 20 development/sdk/plat_tools_source.prop_template \
21 ) 21 )
22tool_version := $(platform_tools_version)-$(BUILD_NUMBER_FROM_FILE) 22tool_version := $(platform_tools_version)-$(BUILD_NUMBER_FROM_FILE)