Fix build error when (ADB|FASTBOOT)_VERSION has space

Test: make, and build pass
Change-Id: I8fc608a5b8bccb43b8af72978ce16a945147f62d
This commit is contained in:
SzuWei Lin 2017-05-10 18:15:03 +08:00
parent 01e7990a10
commit b3526e1ee8
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ ADB_COMMON_CFLAGS := \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
-Wvla \
-DADB_VERSION=\"$(tool_version)\" \
-DADB_VERSION="\"$(tool_version)\""
ADB_COMMON_posix_CFLAGS := \
-Wexit-time-destructors \

View File

@ -18,7 +18,7 @@ include $(LOCAL_PATH)/../platform_tools_tool_version.mk
include $(CLEAR_VARS)
LOCAL_CFLAGS += -DFASTBOOT_VERSION=\"$(tool_version)\"
LOCAL_CFLAGS += -DFASTBOOT_VERSION="\"$(tool_version)\""
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/../adb \