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

This commit is contained in:
Elliott Hughes 2017-05-10 15:11:26 +00:00 committed by Gerrit Code Review
commit 3d29736d6b
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 \