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

Commit c80623a6 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:...

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

Change-Id: I5a1c6df3f934706753f72718b2ca5d37add84ca3
parents fa592315 f1ae466a
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)