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

Commit 5a1e85eb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Convert libhidcommand_jni to Android.bp"

parents d928842a 392d4e7f
Loading
Loading
Loading
Loading

cmds/hid/Android.bp

0 → 100644
+1 −0
Original line number Diff line number Diff line
subdirs = ["jni"]
+18 −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_runtime",
        "liblog",
        "libnativehelper",
        "libutils",
    ],

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

cmds/hid/jni/Android.mk

deleted100644 → 0
+0 −23
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) \
    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)