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

Commit 21d5fdbb 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

Change-Id: Ifa4e6b8c415efde2dac49daf4746c19fd3b568a3
parents 6737dc94 a97f4d4a
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)