|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- LOCAL_PATH := $(call my-dir)
-
-
- local_lib_src_files := engine/host_cpu_engine.cc \
- ops_kernel_store/host_cpu_ops_kernel_info.cc \
- ops_kernel_store/op/op_factory.cc \
- ops_kernel_store/op/host_op.cc \
-
- local_lib_inc_path := proto/task.proto \
- ${LOCAL_PATH} \
- ${TOPDIR}inc \
- ${TOPDIR}inc/external \
- ${TOPDIR}inc/external/graph \
- $(TOPDIR)libc_sec/include \
- ${TOPDIR}third_party/protobuf/include \
- ${TOPDIR}inc/framework \
- $(TOPDIR)framework/domi \
-
- #compiler for host
- include $(CLEAR_VARS)
- LOCAL_MODULE := libhost_cpu_engine
- LOCAL_CFLAGS += -Werror
- LOCAL_CFLAGS += -std=c++11
- LOCAL_LDFLAGS :=
-
- LOCAL_STATIC_LIBRARIES :=
- LOCAL_SHARED_LIBRARIES := libprotobuf \
- libc_sec \
- libslog \
- libgraph \
- libregister \
- libruntime
-
- LOCAL_SRC_FILES := $(local_lib_src_files)
- LOCAL_C_INCLUDES := $(local_lib_inc_path)
-
- include ${BUILD_HOST_SHARED_LIBRARY}
-
- #compiler for atc
- include $(CLEAR_VARS)
- LOCAL_MODULE := atclib/libhost_cpu_engine
- LOCAL_CFLAGS += -Werror
- LOCAL_CFLAGS += -std=c++11 -DCOMPILE_OMG_PACKAGE
- LOCAL_LDFLAGS :=
-
- LOCAL_STATIC_LIBRARIES :=
- LOCAL_SHARED_LIBRARIES := libprotobuf \
- libc_sec \
- libslog \
- libgraph \
- libregister \
- libruntime_compile
-
- LOCAL_SRC_FILES := $(local_lib_src_files)
- LOCAL_C_INCLUDES := $(local_lib_inc_path)
-
- include ${BUILD_HOST_SHARED_LIBRARY}
|