emulator_camera_c_includes := external/jpeg \
frameworks/native/include/media/hardware \
+ system/core/qemu_pipe/include \
$(LOCAL_PATH)/../../goldfish-opengl/system/OpenglSystemCommon \
$(call include-path-for, camera)
LOCAL_CFLAGS := ${emulator_camera_cflags}
LOCAL_CLANG_CFLAGS += ${emulator_camera_clang_flags}
+LOCAL_STATIC_LIBRARIES := \
+ libqemu_pipe \
+ libbase
+
LOCAL_SHARED_LIBRARIES := ${emulator_camera_shared_libraries}
LOCAL_C_INCLUDES += ${emulator_camera_c_includes}
LOCAL_SRC_FILES := ${emulator_camera_src}
LOCAL_MODULE_RELATIVE_PATH := ${emulator_camera_module_relative_path}
LOCAL_CFLAGS := ${emulator_camera_cflags}
LOCAL_CLANG_CFLAGS += ${emulator_camera_clang_flags}
+LOCAL_STATIC_LIBRARIES := \
+ libqemu_pipe \
+ libbase
+
LOCAL_SHARED_LIBRARIES := ${emulator_camera_shared_libraries}
LOCAL_C_INCLUDES += ${emulator_camera_c_includes}
#endif // LOG_QUERIES
#define QEMU_PIPE_DEBUG LOGQ
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
namespace android {
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := fingerprint.c
LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_C_INCLUDES := system/core/qemu_pipe
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
include $(BUILD_SHARED_LIBRARY)
LOCAL_MODULE := fingerprint.ranchu
LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_C_INCLUDES := system/core/qemu_pipe
LOCAL_SRC_FILES := fingerprint.c
LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
include $(BUILD_SHARED_LIBRARY)
#include <cutils/log.h>
#include <hardware/hardware.h>
#include <hardware/fingerprint.h>
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
#include <errno.h>
#include <endian.h>
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
+
LOCAL_CFLAGS += -DQEMU_HARDWARE
LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware
LOCAL_SRC_FILES := gps_qemu.c
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
+
LOCAL_CFLAGS += -DQEMU_HARDWARE
LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware
LOCAL_SRC_FILES := gps_qemu.c
#include <cutils/log.h>
#include <cutils/sockets.h>
#include <hardware/gps.h>
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
/* the name of the qemu-controlled pipe */
#define QEMU_CHANNEL_NAME "pipe:qemud:gps"
# hw/<LIGHTS_HARDWARE_MODULE_ID>.<ro.hardware>.so
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
+
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_SRC_FILES := lights_qemu.c
LOCAL_MODULE := lights.goldfish
#include <cutils/log.h>
#define DEBUG_QEMU_PIPE D
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
#include <hardware/lights.h>
#include <errno.h>
LOCAL_CFLAGS += -DQEMU_HARDWARE
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_SRC_FILES := power_qemu.c
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
LOCAL_MODULE := power.goldfish
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
#include <hardware/hardware.h>
#include <hardware/power.h>
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
#include <fcntl.h>
#include <errno.h>
include $(CLEAR_VARS)
LOCAL_MODULE := qemu-props
LOCAL_SRC_FILES := qemu-props.c
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
+
LOCAL_SHARED_LIBRARIES := libcutils liblog
include $(BUILD_EXECUTABLE)
#endif
#include <cutils/properties.h>
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
#include <unistd.h>
/* Name of the qemud service we want to connect to.
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_SRC_FILES := sensors_qemu.c
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
+
ifeq ($(TARGET_PRODUCT),vbox_x86)
LOCAL_MODULE := sensors.vbox_x86
else
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := liblog libcutils
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
+
LOCAL_SRC_FILES := sensors_qemu.c
LOCAL_MODULE := sensors.ranchu
#define E(...) ALOGE(__VA_ARGS__)
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
/** SENSOR IDS AND NAMES
**/
# HAL module implemenation stored in
# hw/<VIBRATOR_HARDWARE_MODULE_ID>.goldfish.so
LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_C_INCLUDES := system/core/qemu_pipe/include
+LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase
+
LOCAL_SRC_FILES := vibrator_qemu.c
LOCAL_SHARED_LIBRARIES := liblog libhardware
LOCAL_MODULE_TAGS := optional
#define QEMU_HARDWARE
#include <hardware/hardware.h>
#include <hardware/vibrator.h>
-#include <system/qemu_pipe.h>
+#include <qemu_pipe.h>
static int sendit(unsigned int timeout_ms)
{