Merge "Convert libhidcommand_jni to Android.bp" into stage-aosp-master
am: a97f4d4ac3
Change-Id: Ifa4e6b8c415efde2dac49daf4746c19fd3b568a3
This commit is contained in:
1
cmds/hid/Android.bp
Normal file
1
cmds/hid/Android.bp
Normal file
@@ -0,0 +1 @@
|
|||||||
|
subdirs = ["jni"]
|
||||||
17
cmds/hid/jni/Android.bp
Normal file
17
cmds/hid/jni/Android.bp
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
cc_library_shared {
|
||||||
|
name: "libhidcommand_jni",
|
||||||
|
|
||||||
|
srcs: ["com_android_commands_hid_Device.cpp"],
|
||||||
|
|
||||||
|
shared_libs: [
|
||||||
|
"libandroid",
|
||||||
|
"liblog",
|
||||||
|
"libnativehelper",
|
||||||
|
],
|
||||||
|
|
||||||
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Wextra",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -1,18 +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)
|
|
||||||
|
|
||||||
LOCAL_LDLIBS += -landroid -llog -lnativehelper
|
|
||||||
|
|
||||||
LOCAL_MODULE := libhidcommand_jni
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
|
|
||||||
LOCAL_CFLAGS += -Wall -Wextra -Werror
|
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
|
||||||
Reference in New Issue
Block a user