%build
export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
-export CFLAGS+=" -Wall -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} -DE_LOGGING=1 "
+export CFLAGS+=" -Wall -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} -DE_LOGGING=1 -D_F_ENABLE_KEYROUTER_CORE "
export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
%autogen
+#ifndef _F_ENABLE_KEYROUTER_CORE
+
#define E_COMP_WL
#include "e_mod_main_wl.h"
E_CONFIG_DD_FREE(kconfig->conf_hwkeys_edd);
E_CONFIG_DD_FREE(kconfig->conf_edd);
}
+
+#endif
+#ifndef _F_ENABLE_KEYROUTER_CORE
+
#define E_COMP_WL
#include "e_mod_main_wl.h"
}
return NULL;
}
+#endif
+#ifndef _F_ENABLE_KEYROUTER_CORE
#define E_COMP_WL
#include "e_mod_main_wl.h"
return list;
}
+#endif
+#ifndef _F_ENABLE_KEYROUTER_CORE
#define E_COMP_WL
#include "e_mod_main_wl.h"
#include <device/power.h>
return res;
}
#endif
+#endif
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
+#ifndef _F_ENABLE_KEYROUTER_CORE
+
#include "e.h"
#include <tizen-extension-server-protocol.h>
#ifdef ENABLE_CYNARA
int e_keyrouter_cb_picture_off(const int option, void *data);
#endif
+#endif