[C-API] Use mock header instead of Tizen dependent one
authorWook Song <wook16.song@samsung.com>
Thu, 24 Oct 2019 09:02:49 +0000 (18:02 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 24 Oct 2019 15:41:12 +0000 (00:41 +0900)
commit1de82455692cacbd65ee3280e710a5bea23b0662
tree06513903f11d92f6a11ff75b0dbdfd16a8fb252a
parent01c7188a317d8105ddeab0675e02bc28634be04c
[C-API] Use mock header instead of Tizen dependent one

In order to build C-API for Non-Tizen platforms, nnstreamer.h should be
modified at build time to emulate some Tizen-dependent symbols.
Instead, this patch adds a mock header, tizen_error.h, which emulates
those symbols and includes needed system header. Therefore, it is
possible to build C-API by adding this header to the build tree when
enabling C-API for Non-Tizen platform.

Signed-off-by: Wook Song <wook16.song@samsung.com>
api/capi/meson.build
debian/rules
meson.build