You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- LOCAL_PATH := $(call my-dir)
-
- include $(CLEAR_VARS)
-
- LOCAL_MODULE := libfmk_onnx_parser
-
- LOCAL_CFLAGS += -DPROTOBUF_INLINE_NOT_IN_HEADERS=0
- LOCAL_CFLAGS += -Werror
- ifeq ($(DEBUG), 1)
- LOCAL_CFLAGS += -g -O0
- endif
-
- PARSER_ONNX_SRC_FILES := \
- onnx_custom_parser_adapter.cc \
- onnx_parser.cc \
- onnx_data_parser.cc \
- onnx_util.cc \
- onnx_constant_parser.cc \
- proto/onnx/ge_onnx.proto \
- proto/om.proto \
-
- LOCAL_SRC_FILES := $(PARSER_ONNX_SRC_FILES)
-
- LOCAL_C_INCLUDES := \
- $(LOCAL_PATH) \
- $(LOCAL_PATH)/../../ \
- $(TOPDIR)inc \
- $(TOPDIR)inc/external \
- $(TOPDIR)inc/external/graph \
- $(TOPDIR)inc/framework \
- $(TOPDIR)framework/domi/parser \
- libc_sec/include \
- third_party/protobuf/include \
- third_party/json/include \
- third_party/openssl/include/x86/include \
-
- LOCAL_SHARED_LIBRARIES := \
- libprotobuf \
- libslog \
- libmmpa \
- libc_sec \
- libparser_common \
- libgraph \
- libregister \
- libge_common \
-
- LOCAL_LDFLAGS := -lrt
-
- include $(BUILD_HOST_SHARED_LIBRARY)
|