mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
49e3719cd0
Summary: they were all transitively pulling it from folly Reviewed By: mjoras Differential Revision: D23683292 fbshipit-source-id: 2085a580584891b3fd0960c14505c0f675a11bd5
32 lines
942 B
Python
32 lines
942 B
Python
#!/usr/bin/env python
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
from __future__ import unicode_literals
|
|
|
|
import specs.gmock as gmock
|
|
import specs.fmt as fmt
|
|
import specs.folly as folly
|
|
import specs.sodium as sodium
|
|
|
|
|
|
def fbcode_builder_spec(builder):
|
|
builder.add_option(
|
|
"fizz/fizz/build:cmake_defines",
|
|
{
|
|
# Fizz's build is kind of broken, in the sense that both `mvfst`
|
|
# and `proxygen` depend on files that are only installed with
|
|
# `BUILD_TESTS` enabled, e.g. `fizz/crypto/test/TestUtil.h`.
|
|
"BUILD_TESTS": "ON"
|
|
},
|
|
)
|
|
return {
|
|
"depends_on": [gmock, fmt, folly, sodium],
|
|
"steps": [
|
|
builder.fb_github_cmake_install(
|
|
"fizz/fizz/build", github_org="facebookincubator"
|
|
)
|
|
],
|
|
}
|