summaryrefslogtreecommitdiff
path: root/chromium/net/server
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 15:28:34 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 13:54:51 +0000
commit2a19c63448c84c1805fb1a585c3651318bb86ca7 (patch)
treeeb17888e8531aa6ee5e85721bd553b832a7e5156 /chromium/net/server
parentb014812705fc80bff0a5c120dfcef88f349816dc (diff)
downloadqtwebengine-chromium-2a19c63448c84c1805fb1a585c3651318bb86ca7.tar.gz
BASELINE: Update Chromium to 69.0.3497.70
Change-Id: I2b7b56e4e7a8b26656930def0d4575dc32b900a0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/net/server')
-rw-r--r--chromium/net/server/BUILD.gn86
1 files changed, 86 insertions, 0 deletions
diff --git a/chromium/net/server/BUILD.gn b/chromium/net/server/BUILD.gn
new file mode 100644
index 00000000000..1f3e3cb55cb
--- /dev/null
+++ b/chromium/net/server/BUILD.gn
@@ -0,0 +1,86 @@
+# Copyright 2018 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//net/features.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
+
+static_library("http_server") {
+ public = []
+
+ # This target is being deprecated. Use //services/network/public/cpp/server
+ # instead.
+ visibility = [
+ ":net_http_server_fuzzer",
+ ":tests",
+ "//chrome/browser/devtools",
+ "//chrome/test/chromedriver/*",
+ "//content/browser",
+ ]
+
+ friend = [
+ ":net_http_server_fuzzer",
+ ":tests",
+ "//chrome/browser/devtools",
+ "//chrome/test/chromedriver/*",
+ "//content/browser",
+ ]
+
+ if (enable_websockets) {
+ sources = [
+ "http_connection.cc",
+ "http_connection.h",
+ "http_server.cc",
+ "http_server.h",
+ "http_server_request_info.cc",
+ "http_server_request_info.h",
+ "http_server_response_info.cc",
+ "http_server_response_info.h",
+ "web_socket.cc",
+ "web_socket.h",
+ "web_socket_encoder.cc",
+ "web_socket_encoder.h",
+ ]
+ configs += [ "//build/config/compiler:wexit_time_destructors" ]
+ deps = [
+ "//base",
+ "//net",
+ ]
+ }
+}
+
+source_set("tests") {
+ testonly = true
+ if (enable_websockets) {
+ sources = [
+ "http_connection_unittest.cc",
+ "http_server_response_info_unittest.cc",
+ "http_server_unittest.cc",
+ "web_socket_encoder_unittest.cc",
+ ]
+ deps = [
+ ":http_server",
+ "//base",
+ "//net",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+ }
+}
+
+if (enable_websockets) {
+ fuzzer_test("net_http_server_fuzzer") {
+ sources = [
+ "http_server_fuzzer.cc",
+ ]
+ deps = [
+ ":http_server",
+ "//base",
+ "//net",
+ "//net:net_fuzzer_test_support",
+ "//net:test_support",
+ ]
+ dict = "//net/data/fuzzer_dictionaries/net_http_server_fuzzer.dict"
+ seed_corpus = "//net/data/fuzzer_data/http_server_requests/"
+ }
+}