Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Side by Side Diff: net/BUILD.gn

Issue 2082603002: Introduce an 'ENABLE_WEBSOCKETS' define in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hsts
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/net.gyp » ('j') | net/url_request/url_request_http_job_unittest.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 defines = [] 61 defines = []
62 if (posix_avoid_mmap) { 62 if (posix_avoid_mmap) {
63 defines += [ "POSIX_AVOID_MMAP" ] 63 defines += [ "POSIX_AVOID_MMAP" ]
64 } 64 }
65 if (disable_file_support) { 65 if (disable_file_support) {
66 defines += [ "DISABLE_FILE_SUPPORT" ] 66 defines += [ "DISABLE_FILE_SUPPORT" ]
67 } 67 }
68 if (disable_ftp_support) { 68 if (disable_ftp_support) {
69 defines += [ "DISABLE_FTP_SUPPORT=1" ] 69 defines += [ "DISABLE_FTP_SUPPORT=1" ]
70 } 70 }
71 if (enable_websockets) {
72 defines += [ "ENABLE_WEBSOCKETS" ]
mmenke 2016/06/20 15:14:09 Hrm...We should probably go with DISABLE_WEBSOCKET
Mike West 2016/06/21 10:31:15 It doesn't look that clearcut. We have "DISABLE_FI
mmenke 2016/06/21 16:33:54 SGTM.
73 }
71 } 74 }
72 75
73 config("net_internal_config") { 76 config("net_internal_config") {
74 defines = [ 77 defines = [
75 "DLOPEN_KERBEROS", 78 "DLOPEN_KERBEROS",
76 "NET_IMPLEMENTATION", 79 "NET_IMPLEMENTATION",
77 ] 80 ]
78 81
79 if (use_kerberos) { 82 if (use_kerberos) {
80 defines += [ "USE_KERBEROS" ] 83 defines += [ "USE_KERBEROS" ]
(...skipping 1989 matching lines...) Expand 10 before | Expand all | Expand 10 after
2070 "url_request/url_request_fuzzer.cc", 2073 "url_request/url_request_fuzzer.cc",
2071 ] 2074 ]
2072 deps = [ 2075 deps = [
2073 ":net_fuzzer_test_support", 2076 ":net_fuzzer_test_support",
2074 ":test_support", 2077 ":test_support",
2075 "//base", 2078 "//base",
2076 "//net", 2079 "//net",
2077 ] 2080 ]
2078 dict = "data/http/http.dict" 2081 dict = "data/http/http.dict"
2079 } 2082 }
OLDNEW
« no previous file with comments | « no previous file | net/net.gyp » ('j') | net/url_request/url_request_http_job_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698