Skip to content

Instantly share code, notes, and snippets.

@shaobin0604
Created November 7, 2011 11:23
Show Gist options
  • Select an option

  • Save shaobin0604/1344696 to your computer and use it in GitHub Desktop.

Select an option

Save shaobin0604/1344696 to your computer and use it in GitHub Desktop.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# our source files
#
LOCAL_SRC_FILES:= \
audiotrack.cpp
LOCAL_SHARED_LIBRARIES := \
libbinder \
libmedia \
libutils \
liblog \
libdl
LOCAL_C_INCLUDES += \
$(JNI_H_INCLUDE) \
frameworks/base/include \
frameworks/base/native/include
# Optional tag would mean it doesn't get installed by default
LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE:= libjniaudio
include $(BUILD_SHARED_LIBRARY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment