From: Jaeyun Date: Tue, 9 Jul 2019 03:22:25 +0000 (+0900) Subject: [C-Api/Android] add build path for c-api X-Git-Tag: accepted/tizen/unified/20190717.115101~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3e0ead9b9f29795108bd56427f7eb00d8e9161b;p=platform%2Fupstream%2Fnnstreamer.git [C-Api/Android] add build path for c-api define path of c-api for android build Signed-off-by: Jaeyun Jung --- diff --git a/jni/nnstreamer.mk b/jni/nnstreamer.mk index 2518854..b7c59e8 100644 --- a/jni/nnstreamer.mk +++ b/jni/nnstreamer.mk @@ -8,6 +8,7 @@ NNSTREAMER_VERSION := 0.2.1 NNSTREAMER_GST_HOME := $(NNSTREAMER_ROOT)/gst/nnstreamer NNSTREAMER_EXT_HOME := $(NNSTREAMER_ROOT)/ext/nnstreamer +NNSTREAMER_CAPI_HOME := $(NNSTREAMER_ROOT)/api/capi # nnstreamer common headers NNSTREAMER_INCLUDES := \ @@ -38,6 +39,15 @@ NNSTREAMER_PLUGINS_SRCS := \ $(NNSTREAMER_GST_HOME)/tensor_split/gsttensorsplit.c \ $(NNSTREAMER_GST_HOME)/tensor_transform/tensor_transform.c +# nnstreamer c-api +NNSTREAMER_CAPI_INCLUDES := \ + $(NNSTREAMER_CAPI_HOME)/include + +NNSTREAMER_CAPI_SRCS := \ + $(NNSTREAMER_CAPI_HOME)/src/nnstreamer-capi-pipeline.c \ + $(NNSTREAMER_CAPI_HOME)/src/nnstreamer-capi-single.c \ + $(NNSTREAMER_CAPI_HOME)/src/nnstreamer-capi-util.c + # filter tensorflow NNSTREAMER_FILTER_TF_SRCS := \ $(NNSTREAMER_EXT_HOME)/tensor_filter/tensor_filter_tensorflow.c \