| 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/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//url/config.gni") | 8 import("//url/config.gni") |
| 9 | 9 |
| 10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. | 10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 } | 244 } |
| 245 if (is_ios) { | 245 if (is_ios) { |
| 246 # Always removed for !ios below. | 246 # Always removed for !ios below. |
| 247 sources -= [ | 247 sources -= [ |
| 248 "cert/cert_verify_proc_nss.cc", | 248 "cert/cert_verify_proc_nss.cc", |
| 249 "cert/cert_verify_proc_nss.h", | 249 "cert/cert_verify_proc_nss.h", |
| 250 ] | 250 ] |
| 251 } | 251 } |
| 252 if (is_win) { | 252 if (is_win) { |
| 253 sources -= [ | 253 sources -= [ |
| 254 "cert/cert/sha256_legacy_support_nss_win.cc", | 254 "cert/sha256_legacy_support_nss_win.cc", |
| 255 ] | 255 ] |
| 256 } | 256 } |
| 257 } else { | 257 } else { |
| 258 sources -= [ | 258 sources -= [ |
| 259 "base/crypto_module_openssl.cc", | 259 "base/crypto_module_openssl.cc", |
| 260 "cert/ct_log_verifier_openssl.cc", | 260 "cert/ct_log_verifier_openssl.cc", |
| 261 "cert/ct_objects_extractor_openssl.cc", | 261 "cert/ct_objects_extractor_openssl.cc", |
| 262 "cert/jwk_serializer_openssl.cc", | 262 "cert/jwk_serializer_openssl.cc", |
| 263 "cert/x509_util_openssl.cc", | 263 "cert/x509_util_openssl.cc", |
| 264 "cert/x509_util_openssl.h", | 264 "cert/x509_util_openssl.h", |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 sources -= [ "disk_cache/blockfile/file_posix.cc" ] | 493 sources -= [ "disk_cache/blockfile/file_posix.cc" ] |
| 494 libs = [ | 494 libs = [ |
| 495 "CFNetwork.framework", | 495 "CFNetwork.framework", |
| 496 "MobileCoreServices.framework", | 496 "MobileCoreServices.framework", |
| 497 "Security.framework", | 497 "Security.framework", |
| 498 "SystemConfiguration.framework", | 498 "SystemConfiguration.framework", |
| 499 "resolv", | 499 "resolv", |
| 500 ] | 500 ] |
| 501 } | 501 } |
| 502 | 502 |
| 503 if (is_ios || is_mac) { |
| 504 sources += gypi_values.net_base_mac_ios_sources |
| 505 } |
| 506 |
| 503 if (is_android) { | 507 if (is_android) { |
| 504 # Add some Linux sources that were excluded by the filter, but which | 508 # Add some Linux sources that were excluded by the filter, but which |
| 505 # are needed. | 509 # are needed. |
| 506 set_sources_assignment_filter([]) | 510 set_sources_assignment_filter([]) |
| 507 sources += [ | 511 sources += [ |
| 508 "base/platform_mime_util_linux.cc", | 512 "base/platform_mime_util_linux.cc", |
| 509 "base/address_tracker_linux.cc", | 513 "base/address_tracker_linux.cc", |
| 510 "base/address_tracker_linux.h", | 514 "base/address_tracker_linux.h", |
| 511 "base/net_util_linux.cc", | 515 "base/net_util_linux.cc", |
| 512 "base/net_util_linux.h" | 516 "base/net_util_linux.h" |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1143 if (is_linux) { | 1147 if (is_linux) { |
| 1144 sources += gypi_values.net_linux_test_sources | 1148 sources += gypi_values.net_linux_test_sources |
| 1145 deps += [ | 1149 deps += [ |
| 1146 ":balsa", | 1150 ":balsa", |
| 1147 ":epoll_server", | 1151 ":epoll_server", |
| 1148 ":flip_in_mem_edsm_server_base", | 1152 ":flip_in_mem_edsm_server_base", |
| 1149 ":quic_base", | 1153 ":quic_base", |
| 1150 ] | 1154 ] |
| 1151 } | 1155 } |
| 1152 | 1156 |
| 1157 if (is_mac || is_ios) { |
| 1158 sources += gypi_values.net_base_test_mac_ios_sources |
| 1159 } |
| 1160 |
| 1153 if (is_chromeos) { | 1161 if (is_chromeos) { |
| 1154 sources -= [ | 1162 sources -= [ |
| 1155 "proxy/proxy_config_service_linux_unittest.cc", | 1163 "proxy/proxy_config_service_linux_unittest.cc", |
| 1156 ] | 1164 ] |
| 1157 } | 1165 } |
| 1158 | 1166 |
| 1159 if (is_android) { | 1167 if (is_android) { |
| 1160 sources -= [ | 1168 sources -= [ |
| 1161 # See bug http://crbug.com/344533. | 1169 # See bug http://crbug.com/344533. |
| 1162 "disk_cache/blockfile/index_table_v3_unittest.cc", | 1170 "disk_cache/blockfile/index_table_v3_unittest.cc", |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 sources = [ "quic/quic_server_bin.cc" ] | 1387 sources = [ "quic/quic_server_bin.cc" ] |
| 1380 deps = [ | 1388 deps = [ |
| 1381 ":quic_tools", | 1389 ":quic_tools", |
| 1382 ":net", | 1390 ":net", |
| 1383 "//base", | 1391 "//base", |
| 1384 "//third_party/boringssl", | 1392 "//third_party/boringssl", |
| 1385 ] | 1393 ] |
| 1386 } | 1394 } |
| 1387 | 1395 |
| 1388 } # !is_android && !is_win && !is_mac | 1396 } # !is_android && !is_win && !is_mac |
| OLD | NEW |