1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-10 05:22:59 +03:00
Files
proxygen/build/fbcode_builder/specs/proxygen.py
Alexey Spiridonov b4d4fe0e18 Remove mentions of Bistro
Summary: Since Bistro is slated to be deprecated, let us turn off OSS CI for it.

Reviewed By: AnonymousMonkey2021

Differential Revision: D35347845

fbshipit-source-id: be23bcfaa098f77162f27ecfed6469b8db7d3401
2022-04-03 20:54:31 -07:00

32 lines
931 B
Python

#!/usr/bin/env python
# Copyright (c) Facebook, Inc. and its affiliates.
import specs.fizz as fizz
import specs.fmt as fmt
import specs.folly as folly
import specs.gmock as gmock
import specs.mvfst as mvfst
import specs.sodium as sodium
import specs.wangle as wangle
import specs.zstd as zstd
def fbcode_builder_spec(builder):
# Projects that **depend** on proxygen should don't need to build tests
# or QUIC support.
builder.add_option(
"proxygen/proxygen:cmake_defines",
{
# These 2 are set to ON in `proxygen_quic.py`
"BUILD_QUIC": "OFF",
"BUILD_TESTS": "OFF",
# NB May no longer be needed now that Bistro is gone.
"BUILD_SHARED_LIBS": "OFF",
},
)
return {
"depends_on": [gmock, fmt, folly, wangle, fizz, sodium, zstd, mvfst],
"steps": [builder.fb_github_cmake_install("proxygen/proxygen", "..")],
}