1cc290419Sopenharmony_ciadd_definitions(-DUSE_CONFIG_UV_THREADS -DSIZE_THREAD_POOL=128 -DHDC_HOST -DHOST_LINUX -DHARMONY_PROJECT -DTEST_HASH -DHDC_MSG_HASH="TEST") 2cc290419Sopenharmony_ci 3cc290419Sopenharmony_ciAUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_LIST_DIR} HOST_SRCS) 4cc290419Sopenharmony_ciAUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_LIST_DIR}/../common COMMON_SRCS) 5cc290419Sopenharmony_ci 6cc290419Sopenharmony_ciget_filename_component(MY_RESULT_ABSOLUTE_PATH_VAR 7cc290419Sopenharmony_ci "${CMAKE_CURRENT_LIST_DIR}/${MY_RELATIVE_PATH_VAR}" 8cc290419Sopenharmony_ci ABSOLUTE) 9cc290419Sopenharmony_ci 10cc290419Sopenharmony_ciinclude_directories(${ohos_top}/third_party/libusb/include) 11cc290419Sopenharmony_cilink_libraries(uv crypto lz4 12cc290419Sopenharmony_ci ${ohos_top}/out/sdk/clang_x64/obj/third_party/bounds_checking_function/libsec_static.a 13cc290419Sopenharmony_ci ${ohos_top}/out/sdk/clang_x64/common/common/libusb_shared.so) 14cc290419Sopenharmony_ci 15cc290419Sopenharmony_ciadd_executable(hdc ${COMMON_SRCS} ${HOST_SRCS}) 16