1 LOCAL_PATH := $(call my-dir) 2 3 # The PDK build does not have access to frameworks/native elements. 4 ifneq ($(TARGET_BUILD_PDK), true) 5 6 # Sample util binaries. 7 include $(CLEAR_VARS) 8 LOCAL_MODULE := dnschk 9 10 LOCAL_C_INCLUDES += frameworks/native/include external/libcxx/include 11 LOCAL_CPPFLAGS += -std=c++11 12 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 13 LOCAL_MODULE_TAGS := debug 14 LOCAL_SHARED_LIBRARIES := libandroid libbase libc++ 15 LOCAL_SRC_FILES := dnschk.cpp common.cpp 16 include $(BUILD_EXECUTABLE) 17 18 include $(CLEAR_VARS) 19 LOCAL_MODULE := httpurl 20 21 LOCAL_C_INCLUDES += frameworks/native/include external/libcxx/include 22 LOCAL_CPPFLAGS += -std=c++11 23 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 24 LOCAL_MODULE_TAGS := debug 25 LOCAL_SHARED_LIBRARIES := libandroid libbase libc++ 26 LOCAL_SRC_FILES := httpurl.cpp common.cpp 27 include $(BUILD_EXECUTABLE) 28 29 endif # ifneq ($(TARGET_BUILD_PDK), true) 30