Don't reference variables from bsdiff Android.mk.
Change-Id: If4e10039a22f7c1c041072ce0249dca9b243aa16
Test: mma
Bug: 26955860
diff --git a/Android.mk b/Android.mk
index 26ed6e6..107a844 100644
--- a/Android.mk
+++ b/Android.mk
@@ -802,10 +802,17 @@
LOCAL_MODULE_STEM := bsdiff
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES := ../../external/bsdiff/bsdiff_main.cc
-LOCAL_CFLAGS := $(bsdiff_common_cflags)
+LOCAL_CFLAGS := \
+ -D_FILE_OFFSET_BITS=64 \
+ -Wall \
+ -Werror \
+ -Wextra \
+ -Wno-unused-parameter
LOCAL_STATIC_LIBRARIES := \
libbsdiff \
- $(bsdiff_static_libs)
+ libbz \
+ libdivsufsort64 \
+ libdivsufsort
include $(BUILD_EXECUTABLE)
# test_subprocess (type: executable)