| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 sources -= [ "disk_cache/blockfile/file_posix.cc" ] | 491 sources -= [ "disk_cache/blockfile/file_posix.cc" ] |
| 492 libs = [ | 492 libs = [ |
| 493 "CFNetwork.framework", | 493 "CFNetwork.framework", |
| 494 "MobileCoreServices.framework", | 494 "MobileCoreServices.framework", |
| 495 "Security.framework", | 495 "Security.framework", |
| 496 "SystemConfiguration.framework", | 496 "SystemConfiguration.framework", |
| 497 "resolv", | 497 "resolv", |
| 498 ] | 498 ] |
| 499 } | 499 } |
| 500 | 500 |
| 501 if (is_ios || is_mac) { |
| 502 sources += gypi_values.net_base_mac_ios_sources |
| 503 } |
| 504 |
| 501 if (is_android) { | 505 if (is_android) { |
| 502 # Add some Linux sources that were excluded by the filter, but which | 506 # Add some Linux sources that were excluded by the filter, but which |
| 503 # are needed. | 507 # are needed. |
| 504 set_sources_assignment_filter([]) | 508 set_sources_assignment_filter([]) |
| 505 sources += [ | 509 sources += [ |
| 506 "base/platform_mime_util_linux.cc", | 510 "base/platform_mime_util_linux.cc", |
| 507 "base/address_tracker_linux.cc", | 511 "base/address_tracker_linux.cc", |
| 508 "base/address_tracker_linux.h", | 512 "base/address_tracker_linux.h", |
| 509 ] | 513 ] |
| 510 set_sources_assignment_filter(sources_assignment_filter) | 514 set_sources_assignment_filter(sources_assignment_filter) |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 if (is_linux) { | 1129 if (is_linux) { |
| 1126 sources += gypi_values.net_linux_test_sources | 1130 sources += gypi_values.net_linux_test_sources |
| 1127 deps += [ | 1131 deps += [ |
| 1128 ":balsa", | 1132 ":balsa", |
| 1129 ":epoll_server", | 1133 ":epoll_server", |
| 1130 ":flip_in_mem_edsm_server_base", | 1134 ":flip_in_mem_edsm_server_base", |
| 1131 ":quic_base", | 1135 ":quic_base", |
| 1132 ] | 1136 ] |
| 1133 } | 1137 } |
| 1134 | 1138 |
| 1139 if (is_mac || is_ios) { |
| 1140 sources += gypi_values.net_base_test_mac_ios_sources |
| 1141 } |
| 1142 |
| 1135 if (is_chromeos) { | 1143 if (is_chromeos) { |
| 1136 sources -= [ | 1144 sources -= [ |
| 1137 "proxy/proxy_config_service_linux_unittest.cc", | 1145 "proxy/proxy_config_service_linux_unittest.cc", |
| 1138 ] | 1146 ] |
| 1139 } | 1147 } |
| 1140 | 1148 |
| 1141 if (is_android) { | 1149 if (is_android) { |
| 1142 sources -= [ | 1150 sources -= [ |
| 1143 # See bug http://crbug.com/344533. | 1151 # See bug http://crbug.com/344533. |
| 1144 "disk_cache/blockfile/index_table_v3_unittest.cc", | 1152 "disk_cache/blockfile/index_table_v3_unittest.cc", |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1362 sources = [ "quic/quic_server_bin.cc" ] | 1370 sources = [ "quic/quic_server_bin.cc" ] |
| 1363 deps = [ | 1371 deps = [ |
| 1364 ":quic_tools", | 1372 ":quic_tools", |
| 1365 ":net", | 1373 ":net", |
| 1366 "//base", | 1374 "//base", |
| 1367 "//third_party/boringssl", | 1375 "//third_party/boringssl", |
| 1368 ] | 1376 ] |
| 1369 } | 1377 } |
| 1370 | 1378 |
| 1371 } # !is_android && !is_win && !is_mac | 1379 } # !is_android && !is_win && !is_mac |
| OLD | NEW |