It is safer to use unique_fd because we don't have to worry about closing it. Bug: none Test: atest NintendoSwitchProTest Change-Id: I7bb0fb23ede65cf503f59a6e48cd708f0e99bba8
19 lines
295 B
Plaintext
19 lines
295 B
Plaintext
cc_library_shared {
|
|
name: "libhidcommand_jni",
|
|
|
|
srcs: ["com_android_commands_hid_Device.cpp"],
|
|
|
|
shared_libs: [
|
|
"libandroid",
|
|
"libbase",
|
|
"liblog",
|
|
"libnativehelper",
|
|
],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
],
|
|
}
|