1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-08 18:02:05 +03:00
Files
proxygen/build/fbcode_builder/specs/proxygen_quic.py
Chad Austin 4fb4756ec9 remove legacy __future__ imports
Summary: The future is now.

Reviewed By: xavierd

Differential Revision: D33714537

fbshipit-source-id: 8d282bbe7391c4b72b70dab54a5c252060fba457
2022-01-24 20:23:34 -08:00

25 lines
852 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
# DO NOT USE THIS AS A LIBRARY -- this is currently effectively just part
# ofthe implementation of proxygen's `fbcode_builder_config.py`. This is
# why this builds tests and sets `BUILD_QUIC`.
def fbcode_builder_spec(builder):
builder.add_option(
"proxygen/proxygen:cmake_defines",
{"BUILD_QUIC": "ON", "BUILD_SHARED_LIBS": "OFF", "BUILD_TESTS": "ON"},
)
return {
"depends_on": [gmock, fmt, folly, wangle, fizz, sodium, zstd, mvfst],
"steps": [builder.fb_github_cmake_install("proxygen/proxygen", "..")],
}