- add missing Makefile.objs.
- modify header path.
- add stub function in case of disable-sdl and disable-shm.
Change-Id: Ib35650c14681317e0f1c6b892c318fcfaea5727f
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
#ifndef PROTOBUF_C_ecs_2eproto__INCLUDED
#define PROTOBUF_C_ecs_2eproto__INCLUDED
-#include <google/protobuf-c/protobuf-c.h>
+#include "../../../distrib/protobuf/protobuf-c.h"
PROTOBUF_C_BEGIN_DECLS
#ifndef PROTOBUF_C_ecs_5fids_2eproto__INCLUDED
#define PROTOBUF_C_ecs_5fids_2eproto__INCLUDED
-#include <google/protobuf-c/protobuf-c.h>
+#include "../../../distrib/protobuf/protobuf-c.h"
PROTOBUF_C_BEGIN_DECLS
--- /dev/null
+obj-y += genmsg/eventcast.pb-c.o # protobuf-c.o
+obj-y += common.o
+obj-y += sensor.o
+obj-y += touch.o
+obj-y += encode_fb.o
+
+encode_fb.o-cflags := $(LIBPNG_CFLAGS)
DECLARE_DEBUG_CHANNEL(app_tethering);
+#if !defined(CONFIG_SDL) || (!defined(CONFIG_SHM) && defined(CONFIG_DARWIN))
+bool maru_extract_framebuffer(void *buffer)
+{
+ LOG_INFO("SDL or SHM module is not enabled");
+ return false;
+}
+#endif
+
#ifdef CONFIG_WEBP
/*
* webp functions
#ifndef PROTOBUF_C_eventcast_2eproto__INCLUDED
#define PROTOBUF_C_eventcast_2eproto__INCLUDED
-#include <google/protobuf-c/protobuf-c.h>
+#include "../../../distrib/protobuf/protobuf-c.h"
PROTOBUF_C_BEGIN_DECLS