2019-10-04 18:55:14 +03:00
|
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
#
|
|
|
|
# This software may be used and distributed according to the terms of the
|
|
|
|
# GNU General Public License version 2.
|
|
|
|
|
|
|
|
file(GLOB INTEGRATION_LIB_SRCS "*.py")
|
2020-05-04 21:43:29 +03:00
|
|
|
if(pexpect_FOUND)
|
|
|
|
list(APPEND INTEGRATION_LIB_DEPENDENCIES pexpect::pexpect)
|
|
|
|
else()
|
|
|
|
list(REMOVE_ITEM INTEGRATION_LIB_SRCS pexpect.py)
|
|
|
|
endif()
|
|
|
|
|
2019-10-04 18:55:14 +03:00
|
|
|
add_fb_python_library(
|
|
|
|
eden_integration_lib
|
|
|
|
SOURCES ${INTEGRATION_LIB_SRCS}
|
|
|
|
DEPENDS
|
|
|
|
edenfsctl.main_lib
|
|
|
|
eden_py
|
|
|
|
eden_service_thrift_py
|
|
|
|
eden_test_support
|
2020-05-04 21:43:29 +03:00
|
|
|
${INTEGRATION_LIB_DEPENDENCIES}
|
2019-10-04 18:55:14 +03:00
|
|
|
)
|