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

Commit 8119ffa2 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Convert libhidcommand_jni to Android.bp

See build/soong/README.md for more information.

Test: m libhidcommand_jni
Change-Id: Ica144979a2f89e0a9ed8eb4a816024aa318043e6
parent be7ccdf6
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)