Commit da165f31 authored by Victor Vasiliev's avatar Victor Vasiliev Committed by Commit Bot

Split QUICHE build rules into their own file and build target

This moves nearly all net/third_party/quiche source files into
//net/third_party/quiche/BUILD.gn, so that they can be given visibility for
absl later.

Change-Id: Ifa2902002f5f7a2b1b5005f6c3f337439af69ce3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020686Reviewed-by: default avatarRyan Hamilton <rch@chromium.org>
Reviewed-by: default avatarBence Béky <bnc@chromium.org>
Commit-Queue: Victor Vasiliev <vasilvv@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735250}
parent 65910c56
This diff is collapsed.
This diff is collapsed.
Name: QUICHE
URL: https://quiche.googlesource.com/quiche
Version: git
License: BSD
License File: src/LICENSE
Security Critical: yes
Description:
This is QUICHE, Google's implementation of QUIC, HTTP/2 and SPDY protocols.
...@@ -4,12 +4,8 @@ import("//third_party/protobuf/proto_library.gni") ...@@ -4,12 +4,8 @@ import("//third_party/protobuf/proto_library.gni")
# use the lite runtime. # use the lite runtime.
action("quic_trace_proto_lite_runtime") { action("quic_trace_proto_lite_runtime") {
script = "append_lite_runtime.py" script = "append_lite_runtime.py"
inputs = [ inputs = [ "src/lib/quic_trace.proto" ]
"src/lib/quic_trace.proto", outputs = [ "$target_gen_dir/quic_trace.proto" ]
]
outputs = [
"$target_gen_dir/quic_trace.proto",
]
args = args =
rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
} }
...@@ -18,11 +14,12 @@ proto_library("quic_trace_proto") { ...@@ -18,11 +14,12 @@ proto_library("quic_trace_proto") {
# QUIC trace is only used in unit tests and stand-alone command line tools. # QUIC trace is only used in unit tests and stand-alone command line tools.
# It is not linked into the network stack itself due to the Cronet binary # It is not linked into the network stack itself due to the Cronet binary
# size concerns. # size concerns.
visibility = [ "//net:quic_test_tools" ] visibility = [
"//net:quic_test_tools",
sources = [ "//net/third_party/quiche:quic_test_tools_core",
"$target_gen_dir/quic_trace.proto",
] ]
sources = [ "$target_gen_dir/quic_trace.proto" ]
proto_deps = [ ":quic_trace_proto_lite_runtime" ] proto_deps = [ ":quic_trace_proto_lite_runtime" ]
component_build_force_source_set = true component_build_force_source_set = true
testonly = true testonly = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment