OLD | NEW |
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 Loading... |
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" ] |
| 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 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 "url_request/url_request_fuzzer.cc", | 2075 "url_request/url_request_fuzzer.cc", |
2073 ] | 2076 ] |
2074 deps = [ | 2077 deps = [ |
2075 ":net_fuzzer_test_support", | 2078 ":net_fuzzer_test_support", |
2076 ":test_support", | 2079 ":test_support", |
2077 "//base", | 2080 "//base", |
2078 "//net", | 2081 "//net", |
2079 ] | 2082 ] |
2080 dict = "data/http/http.dict" | 2083 dict = "data/http/http.dict" |
2081 } | 2084 } |
OLD | NEW |