sapling/eden/fs/service/DEFS
Adam Simpkins 67a756de93 avoid multiple builds of the eden server library
Summary:
This tweaks the main.cpp and EdenServer.cpp code so that we can avoid having
separate internal and open source builds of the eden/fs/service:server library.

Only one small function is different between the two builds.  This updates the
code so that this function is only used from main.cpp, instead of being used
inside EdenServer.cpp.

Reviewed By: wez

Differential Revision: D4889721

fbshipit-source-id: 97abda92c36752516fb8a8e73b4cf50580db8d79
2017-04-14 11:39:02 -07:00

12 lines
287 B
Plaintext

def create_eden_fs_rules(suffix, subdir, server_srcs, server_deps):
cpp_binary(
name = "edenfs" + suffix,
output_subdir = subdir,
srcs = [
"main.cpp",
] + server_srcs,
deps = [
":server",
] + server_deps,
)