码迷,mamicode.com
首页 > 移动开发 > 详细

Android.mk

时间:2019-05-25 19:59:09      阅读:112      评论:0      收藏:0      [点我收藏+]

标签:pil   and   +=   library   target   nal   als   mod   The   

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# This is the target being built.
LOCAL_MODULE:= libled_jni


# All of the source files that we will compile.
LOCAL_SRC_FILES:= \
led_jni.cpp

# All of the shared libraries we link against.
LOCAL_SHARED_LIBRARIES := \
libutils \
libhardware #因为jni调用:hw_get_module方法,所以需要连接库:libhardware
# Also need the JNI headers.
LOCAL_C_INCLUDES += \
$(JNI_H_INCLUDE)

LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)

Android.mk

标签:pil   and   +=   library   target   nal   als   mod   The   

原文地址:https://www.cnblogs.com/panda-w/p/10922822.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!