[manifest]
name = eden
fbsource_path = fbcode/eden
shipit_project = eden
shipit_fbcode_builder = true

[git]
repo_url = https://github.com/facebookexperimental/eden.git

[build]
builder = cmake

[dependencies]
googletest
folly
fbthrift
fb303
cpptoml
rocksdb
re2
libgit2
lz4
pexpect
python-toml

[dependencies.fb=on]
rust

# macOS ships with sqlite3, and some of the core system
# frameworks require that that version be linked rather
# than the one we might build for ourselves here, so we
# skip building it on macos.
[dependencies.not(os=darwin)]
sqlite3

[dependencies.os=darwin]
osxfuse

# TODO: teach getdeps to compile curl on Windows.
# Enabling curl on Windows requires us to find a way to compile libcurl with
# msvc.
[dependencies.not(os=windows)]
libcurl

[shipit.pathmap]
fbcode/common/rust/shed = common/rust/shed
fbcode/eden/oss = .
fbcode/eden = eden
fbcode/tools/lfs = tools/lfs
fbcode/thrift/lib/rust = thrift/lib/rust

[shipit.strip]
^fbcode/eden/fs/eden-config\.h$
^fbcode/eden/fs/py/eden/config\.py$
^fbcode/eden/hg/.*$
^fbcode/eden/mononoke/(?!lfs_protocol)
^fbcode/eden/scm/build/.*$
^fbcode/eden/scm/lib/third-party/rust/.*/Cargo.toml$
^fbcode/eden/.*/\.cargo/.*$
/Cargo\.lock$
\.pyc$

[cmake.defines.all(fb=on,os=windows)]
INSTALL_PYTHON_LIB=ON

[cmake.defines.fb=on]
USE_CARGO_VENDOR=ON
INCLUDE_FB_INTEGRATION_LIB=ON

[depends.environment]
EDEN_VERSION_OVERRIDE
