Merge "Convert libhidcommand_jni to Android.bp"
This commit is contained in:
1
cmds/hid/Android.bp
Normal file
1
cmds/hid/Android.bp
Normal file
@@ -0,0 +1 @@
|
|||||||
|
subdirs = ["jni"]
|
||||||
18
cmds/hid/jni/Android.bp
Normal file
18
cmds/hid/jni/Android.bp
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
cc_library_shared {
|
||||||
|
name: "libhidcommand_jni",
|
||||||
|
|
||||||
|
srcs: ["com_android_commands_hid_Device.cpp"],
|
||||||
|
|
||||||
|
shared_libs: [
|
||||||
|
"libandroid_runtime",
|
||||||
|
"liblog",
|
||||||
|
"libnativehelper",
|
||||||
|
"libutils",
|
||||||
|
],
|
||||||
|
|
||||||
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Wextra",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
LOCAL_PATH := $(call my-dir)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
|
|
||||||
LOCAL_SRC_FILES := \
|
|
||||||
com_android_commands_hid_Device.cpp
|
|
||||||
|
|
||||||
LOCAL_C_INCLUDES := \
|
|
||||||
$(JNI_H_INCLUDE) \
|
|
||||||
frameworks/base/core/jni
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
|
||||||
libandroid_runtime \
|
|
||||||
liblog \
|
|
||||||
libnativehelper \
|
|
||||||
libutils
|
|
||||||
|
|
||||||
LOCAL_MODULE := libhidcommand_jni
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
|
|
||||||
LOCAL_CFLAGS += -Wall -Wextra -Werror
|
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
|
||||||
Reference in New Issue
Block a user