ivi-shell: make ivi-layout.c as a part of ivi-shell.so
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Mon, 15 Dec 2014 04:22:31 +0000 (13:22 +0900)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 15 Dec 2014 14:43:55 +0000 (16:43 +0200)
commit28dc18c8433a52d8052850910cd5dd1c4c7ea6fc
tree5864ffb48bbe4dd1e75d31b01c581ecdd8f2ba1b
parent3c6796ff3200e12c0e7ffc70a287e7ea2e218ca1
ivi-shell: make ivi-layout.c as a part of ivi-shell.so

ivi-layout.so is separately built and loaded by using dlopen with
RTLD_GLOBAL. This was because these apis defined in ivi-layout.so shall
be used by ivi-modules; e.g. hmi-controller. This shall be improved that
a struct ivi_layout_api contains the whole exported API as function
pointers to be exposed as module_init.

This patch alone builds, but loading controller modules at runtime
failes. This failure will be fixed by following patches.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Makefile.am
ivi-shell/ivi-layout-private.h
ivi-shell/ivi-layout.c
ivi-shell/ivi-shell.c
ivi-shell/ivi-shell.h