2 # This file is used to build a single Barry tool. It takes the following parameters:
3 # TOOL - The name of the tool to make
4 # LOCAL_PATH - Path to the JNI directory
8 LOCAL_SRC_FILES
:= barry_root
/tools
/$(TOOL
).
cc \
9 barry_root
/tools
/util.
cc
11 LOCAL_CFLAGS
+= -DLOCALEDIR
=\"\"
13 LOCAL_CPP_EXTENSION
:= .
cc
15 LOCAL_STATIC_LIBRARIES
+= libbarry
17 LOCAL_SHARED_LIBRARIES
+= libiconv libusb1.0
21 LOCAL_MODULE
:= $(TOOL
)
23 include $(BUILD_EXECUTABLE
)