Merge changes from topic "libhardware_vndk"

am: 7d03020e96

Change-Id: I13dd1fafc3822d12e9403e467b8b3f803dd990b1
This commit is contained in:
Tri Vo 2017-09-06 15:58:26 +00:00 committed by android-build-merger
commit a486d25b96
12 changed files with 17 additions and 2 deletions

View file

@ -23,6 +23,7 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["audio_hw.c"], srcs: ["audio_hw.c"],
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
], ],
@ -40,6 +41,7 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["audio_hw.c"], srcs: ["audio_hw.c"],
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
], ],
@ -53,6 +55,7 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["audio_policy.c"], srcs: ["audio_policy.c"],
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
], ],

View file

@ -17,6 +17,7 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["consumerir.c"], srcs: ["consumerir.c"],
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
], ],

View file

@ -17,5 +17,6 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["fingerprint.c"], srcs: ["fingerprint.c"],
header_libs: ["libhardware_headers"],
shared_libs: ["liblog"], shared_libs: ["liblog"],
} }

View file

@ -26,6 +26,7 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["local_time_hw.c"], srcs: ["local_time_hw.c"],
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
"libcutils", "libcutils",

View file

@ -17,6 +17,7 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["nfc_pn544_example.c"], srcs: ["nfc_pn544_example.c"],
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
], ],

View file

@ -17,5 +17,9 @@ cc_library_shared {
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
srcs: ["power.c"], srcs: ["power.c"],
header_libs: [
"libhardware_headers",
"libutils_headers",
],
shared_libs: ["liblog"], shared_libs: ["liblog"],
} }

View file

@ -23,6 +23,7 @@ cc_library_shared {
"-Wno-unused-parameter", "-Wno-unused-parameter",
"-Werror", "-Werror",
], ],
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
"libcutils", "libcutils",

View file

@ -16,6 +16,7 @@ cc_library_shared {
name: "tv_input.default", name: "tv_input.default",
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
header_libs: ["libhardware_headers"],
shared_libs: [ shared_libs: [
"libcutils", "libcutils",
"liblog", "liblog",

View file

@ -23,6 +23,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h>
#include <log/log.h> #include <log/log.h>
#include <cutils/list.h> #include <cutils/list.h>

View file

@ -20,8 +20,8 @@ LOCAL_MODULE := vehicle.default
LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true LOCAL_PROPRIETARY_MODULE := true
LOCAL_C_INCLUDES := hardware/libhardware
LOCAL_SRC_FILES := vehicle.c timeUtil.cpp LOCAL_SRC_FILES := vehicle.c timeUtil.cpp
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_SHARED_LIBRARIES := liblog libcutils libutils LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional

View file

@ -19,7 +19,7 @@ cc_library_shared {
// hw/<VIBRATOR_HARDWARE_MODULE_ID>.default.so // hw/<VIBRATOR_HARDWARE_MODULE_ID>.default.so
relative_install_path: "hw", relative_install_path: "hw",
proprietary: true, proprietary: true,
include_dirs: ["hardware/libhardware"], header_libs: ["libhardware_headers"],
srcs: ["vibrator.c"], srcs: ["vibrator.c"],
shared_libs: ["liblog"], shared_libs: ["liblog"],
} }

View file

@ -20,6 +20,7 @@ LOCAL_MODULE := vr.default
LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true LOCAL_PROPRIETARY_MODULE := true
LOCAL_SRC_FILES := vr.c LOCAL_SRC_FILES := vr.c
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_SHARED_LIBRARIES := libcutils LOCAL_SHARED_LIBRARIES := libcutils
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -Wno-unused-parameter LOCAL_CFLAGS += -Wno-unused-parameter