Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1ae466a authored by Dan Willemsen's avatar Dan Willemsen Committed by android-build-merger
Browse files

Merge "Convert libhidcommand_jni to Android.bp" into stage-aosp-master am: a97f4d4a

am: 21d5fdbb

Change-Id: I7d2ca2f6c9b9c8522510d4e7ac1d9ded0167b38b
parents 0b4a0272 21d5fdbb
Loading
Loading
Loading
Loading

cmds/hid/Android.bp

0 → 100644
+1 −0
Original line number Diff line number Diff line
subdirs = ["jni"]
+17 −0
Original line number Diff line number Diff line
cc_library_shared {
    name: "libhidcommand_jni",

    srcs: ["com_android_commands_hid_Device.cpp"],

    shared_libs: [
        "libandroid",
        "liblog",
        "libnativehelper",
    ],

    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
}

cmds/hid/jni/Android.mk

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
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)