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("//crypto/ssl/flags.gni") | 5 import("//crypto/ssl/flags.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 component("net") { | 8 component("net") { |
9 external = true | 9 external = true |
10 sources = [ | 10 sources = [ |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 } | 1109 } |
1110 | 1110 |
1111 if (is_linux && use_nss) { | 1111 if (is_linux && use_nss) { |
1112 configs += "//third_party/nss:nss_linux_config" | 1112 configs += "//third_party/nss:nss_linux_config" |
1113 } | 1113 } |
1114 | 1114 |
1115 if (is_chromeos) { | 1115 if (is_chromeos) { |
1116 sources -= [ | 1116 sources -= [ |
1117 "base/network_change_notifier_linux.cc", | 1117 "base/network_change_notifier_linux.cc", |
1118 "base/network_change_notifier_linux.h", | 1118 "base/network_change_notifier_linux.h", |
1119 "base/network_change_notifier_netlink_linux.cc", | |
1120 "base/network_change_notifier_netlink_linux.h", | |
1121 "proxy/proxy_config_service_linux.cc", | 1119 "proxy/proxy_config_service_linux.cc", |
1122 "proxy/proxy_config_service_linux.h", | 1120 "proxy/proxy_config_service_linux.h", |
1123 ] | 1121 ] |
1124 } | 1122 } |
1125 | 1123 |
1126 if (use_openssl) { | 1124 if (use_openssl) { |
1127 sources -= [ | 1125 sources -= [ |
1128 "base/crypto_module_nss.cc", | 1126 "base/crypto_module_nss.cc", |
1129 "base/keygen_handler_nss.cc", | 1127 "base/keygen_handler_nss.cc", |
1130 "base/nss_memio.c", | 1128 "base/nss_memio.c", |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 "server/web_socket.h", | 1217 "server/web_socket.h", |
1220 ] | 1218 ] |
1221 deps = [ | 1219 deps = [ |
1222 ":net", | 1220 ":net", |
1223 "//base", | 1221 "//base", |
1224 ] | 1222 ] |
1225 | 1223 |
1226 # TODO(brettw) figure out how to get this: | 1224 # TODO(brettw) figure out how to get this: |
1227 # 'variables': { 'enable_wexit_time_destructors': 1, }, | 1225 # 'variables': { 'enable_wexit_time_destructors': 1, }, |
1228 } | 1226 } |
OLD | NEW |