Chromium Code Reviews| 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("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
| 9 import("//url/config.gni") | 9 import("//url/config.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 defines = [] | 57 defines = [] |
| 58 if (posix_avoid_mmap) { | 58 if (posix_avoid_mmap) { |
| 59 defines += [ "POSIX_AVOID_MMAP" ] | 59 defines += [ "POSIX_AVOID_MMAP" ] |
| 60 } | 60 } |
| 61 if (disable_file_support) { | 61 if (disable_file_support) { |
| 62 defines += [ "DISABLE_FILE_SUPPORT" ] | 62 defines += [ "DISABLE_FILE_SUPPORT" ] |
| 63 } | 63 } |
| 64 } | 64 } |
| 65 | 65 |
| 66 component("net") { | 66 component("net") { |
| 67 sources = | 67 sources = gypi_values.net_nacl_common_sources |
| 68 gypi_values.net_nacl_common_sources + gypi_values.net_non_nacl_sources | 68 if (!is_nacl) { |
| 69 sources += gypi_values.net_non_nacl_sources | |
| 70 } | |
| 69 | 71 |
| 70 cflags = [] | 72 cflags = [] |
| 71 defines = [ | 73 defines = [ |
| 72 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to | 74 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to |
| 73 # 0) which implies that we run pkg_config on kerberos and link to that | 75 # 0) which implies that we run pkg_config on kerberos and link to that |
| 74 # rather than setting this define which will dynamically open it. That | 76 # rather than setting this define which will dynamically open it. That |
| 75 # doesn't seem to be set in the regular builds, so we're skipping this | 77 # doesn't seem to be set in the regular builds, so we're skipping this |
| 76 # capability here. | 78 # capability here. |
| 77 "DLOPEN_KERBEROS", | 79 "DLOPEN_KERBEROS", |
| 78 "NET_IMPLEMENTATION", | 80 "NET_IMPLEMENTATION", |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 103 "//third_party/protobuf:protobuf_lite", | 105 "//third_party/protobuf:protobuf_lite", |
| 104 "//third_party/zlib", | 106 "//third_party/zlib", |
| 105 "//url", | 107 "//url", |
| 106 ] | 108 ] |
| 107 | 109 |
| 108 if (use_kerberos) { | 110 if (use_kerberos) { |
| 109 defines += [ "USE_KERBEROS" ] | 111 defines += [ "USE_KERBEROS" ] |
| 110 if (is_android) { | 112 if (is_android) { |
| 111 include_dirs += [ "/usr/include/kerberosV" ] | 113 include_dirs += [ "/usr/include/kerberosV" ] |
| 112 } | 114 } |
| 113 } else { | 115 } else if (!is_nacl) { |
|
davidben
2015/08/28 17:08:27
This logic is somewhat hard to follow. I think it
Sergey Ulanov
2015/08/31 21:59:33
Done.
| |
| 114 sources -= [ | 116 sources -= [ |
| 115 "http/http_auth_gssapi_posix.cc", | 117 "http/http_auth_gssapi_posix.cc", |
| 116 "http/http_auth_gssapi_posix.h", | 118 "http/http_auth_gssapi_posix.h", |
| 117 "http/http_auth_handler_negotiate.cc", | 119 "http/http_auth_handler_negotiate.cc", |
| 118 "http/http_auth_handler_negotiate.h", | 120 "http/http_auth_handler_negotiate.h", |
| 119 ] | 121 ] |
| 120 } | 122 } |
| 121 | 123 |
| 122 if (is_posix) { | 124 if (is_posix && !is_nacl) { |
| 123 if (posix_avoid_mmap) { | 125 if (posix_avoid_mmap) { |
| 124 sources -= [ "disk_cache/blockfile/mapped_file_posix.cc" ] | 126 sources -= [ "disk_cache/blockfile/mapped_file_posix.cc" ] |
| 125 } else { | 127 } else { |
| 126 sources -= [ "disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc" ] | 128 sources -= [ "disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc" ] |
| 127 } | 129 } |
| 128 } | 130 } |
| 129 | 131 |
| 130 if (disable_file_support) { | 132 if (disable_file_support && !is_nacl) { |
| 131 sources -= [ | 133 sources -= [ |
| 132 "base/directory_lister.cc", | 134 "base/directory_lister.cc", |
| 133 "base/directory_lister.h", | 135 "base/directory_lister.h", |
| 134 "url_request/file_protocol_handler.cc", | 136 "url_request/file_protocol_handler.cc", |
| 135 "url_request/file_protocol_handler.h", | 137 "url_request/file_protocol_handler.h", |
| 136 "url_request/url_request_file_dir_job.cc", | 138 "url_request/url_request_file_dir_job.cc", |
| 137 "url_request/url_request_file_dir_job.h", | 139 "url_request/url_request_file_dir_job.h", |
| 138 "url_request/url_request_file_job.cc", | 140 "url_request/url_request_file_job.cc", |
| 139 "url_request/url_request_file_job.h", | 141 "url_request/url_request_file_job.h", |
| 140 ] | 142 ] |
| 141 } | 143 } |
| 142 | 144 |
| 143 if (disable_ftp_support) { | 145 if (disable_ftp_support && !is_nacl) { |
| 144 sources -= [ | 146 sources -= [ |
| 145 "ftp/ftp_auth_cache.cc", | 147 "ftp/ftp_auth_cache.cc", |
| 146 "ftp/ftp_auth_cache.h", | 148 "ftp/ftp_auth_cache.h", |
| 147 "ftp/ftp_ctrl_response_buffer.cc", | 149 "ftp/ftp_ctrl_response_buffer.cc", |
| 148 "ftp/ftp_ctrl_response_buffer.h", | 150 "ftp/ftp_ctrl_response_buffer.h", |
| 149 "ftp/ftp_directory_listing_parser.cc", | 151 "ftp/ftp_directory_listing_parser.cc", |
| 150 "ftp/ftp_directory_listing_parser.h", | 152 "ftp/ftp_directory_listing_parser.h", |
| 151 "ftp/ftp_directory_listing_parser_ls.cc", | 153 "ftp/ftp_directory_listing_parser_ls.cc", |
| 152 "ftp/ftp_directory_listing_parser_ls.h", | 154 "ftp/ftp_directory_listing_parser_ls.h", |
| 153 "ftp/ftp_directory_listing_parser_netware.cc", | 155 "ftp/ftp_directory_listing_parser_netware.cc", |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 173 "ftp/ftp_transaction_factory.h", | 175 "ftp/ftp_transaction_factory.h", |
| 174 "ftp/ftp_util.cc", | 176 "ftp/ftp_util.cc", |
| 175 "ftp/ftp_util.h", | 177 "ftp/ftp_util.h", |
| 176 "url_request/ftp_protocol_handler.cc", | 178 "url_request/ftp_protocol_handler.cc", |
| 177 "url_request/ftp_protocol_handler.h", | 179 "url_request/ftp_protocol_handler.h", |
| 178 "url_request/url_request_ftp_job.cc", | 180 "url_request/url_request_ftp_job.cc", |
| 179 "url_request/url_request_ftp_job.h", | 181 "url_request/url_request_ftp_job.h", |
| 180 ] | 182 ] |
| 181 } | 183 } |
| 182 | 184 |
| 183 if (enable_built_in_dns) { | 185 if (!is_nacl) { |
| 184 defines += [ "ENABLE_BUILT_IN_DNS" ] | 186 if (enable_built_in_dns) { |
| 185 } else { | 187 defines += [ "ENABLE_BUILT_IN_DNS" ] |
| 186 sources -= [ | 188 } else { |
| 187 "dns/address_sorter_posix.cc", | 189 sources -= [ |
| 188 "dns/address_sorter_posix.h", | 190 "dns/address_sorter_posix.cc", |
| 189 "dns/dns_client.cc", | 191 "dns/address_sorter_posix.h", |
| 190 ] | 192 "dns/dns_client.cc", |
| 193 ] | |
| 194 } | |
| 191 } | 195 } |
| 192 | 196 |
| 193 if (use_openssl) { | 197 if (use_openssl && !is_nacl) { |
| 194 sources -= [ | 198 sources -= [ |
| 195 "base/nss_memio.c", | 199 "base/nss_memio.c", |
| 196 "base/nss_memio.h", | 200 "base/nss_memio.h", |
| 197 "cert/ct_log_verifier_nss.cc", | 201 "cert/ct_log_verifier_nss.cc", |
| 198 "cert/ct_objects_extractor_nss.cc", | 202 "cert/ct_objects_extractor_nss.cc", |
| 199 "cert/jwk_serializer_nss.cc", | 203 "cert/jwk_serializer_nss.cc", |
| 200 "cert/scoped_nss_types.h", | 204 "cert/scoped_nss_types.h", |
| 201 "cert/x509_util_nss.cc", | 205 "cert/x509_util_nss.cc", |
| 202 "quic/crypto/aead_base_decrypter_nss.cc", | 206 "quic/crypto/aead_base_decrypter_nss.cc", |
| 203 "quic/crypto/aead_base_encrypter_nss.cc", | 207 "quic/crypto/aead_base_encrypter_nss.cc", |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 220 "cert/cert_verify_proc_nss.cc", | 224 "cert/cert_verify_proc_nss.cc", |
| 221 "cert/cert_verify_proc_nss.h", | 225 "cert/cert_verify_proc_nss.h", |
| 222 ] | 226 ] |
| 223 } | 227 } |
| 224 if (is_win) { | 228 if (is_win) { |
| 225 sources -= [ "cert/sha256_legacy_support_nss_win.cc" ] | 229 sources -= [ "cert/sha256_legacy_support_nss_win.cc" ] |
| 226 } | 230 } |
| 227 if (!use_nss_certs && !is_ios) { | 231 if (!use_nss_certs && !is_ios) { |
| 228 sources -= [ "cert/x509_util_nss.h" ] | 232 sources -= [ "cert/x509_util_nss.h" ] |
| 229 } | 233 } |
| 230 } else { | 234 } else if (!is_nacl) { |
| 231 sources -= [ | 235 sources -= [ |
| 232 "cert/ct_log_verifier_openssl.cc", | 236 "cert/ct_log_verifier_openssl.cc", |
| 233 "cert/ct_objects_extractor_openssl.cc", | 237 "cert/ct_objects_extractor_openssl.cc", |
| 234 "cert/jwk_serializer_openssl.cc", | 238 "cert/jwk_serializer_openssl.cc", |
| 235 "cert/x509_util_openssl.cc", | 239 "cert/x509_util_openssl.cc", |
| 236 "cert/x509_util_openssl.h", | 240 "cert/x509_util_openssl.h", |
| 237 "quic/crypto/aead_base_decrypter_openssl.cc", | 241 "quic/crypto/aead_base_decrypter_openssl.cc", |
| 238 "quic/crypto/aead_base_encrypter_openssl.cc", | 242 "quic/crypto/aead_base_encrypter_openssl.cc", |
| 239 "quic/crypto/aes_128_gcm_12_decrypter_openssl.cc", | 243 "quic/crypto/aes_128_gcm_12_decrypter_openssl.cc", |
| 240 "quic/crypto/aes_128_gcm_12_encrypter_openssl.cc", | 244 "quic/crypto/aes_128_gcm_12_encrypter_openssl.cc", |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 267 } | 271 } |
| 268 if (use_nss_certs) { | 272 if (use_nss_certs) { |
| 269 sources -= [ | 273 sources -= [ |
| 270 "ssl/client_key_store.cc", | 274 "ssl/client_key_store.cc", |
| 271 "ssl/client_key_store.h", | 275 "ssl/client_key_store.h", |
| 272 "ssl/ssl_platform_key_nss.cc", | 276 "ssl/ssl_platform_key_nss.cc", |
| 273 ] | 277 ] |
| 274 } | 278 } |
| 275 } | 279 } |
| 276 | 280 |
| 277 if (!use_openssl_certs) { | 281 if (!use_openssl_certs && !is_nacl) { |
| 278 sources -= [ | 282 sources -= [ |
| 279 "base/crypto_module_openssl.cc", | 283 "base/crypto_module_openssl.cc", |
| 280 "base/keygen_handler_openssl.cc", | 284 "base/keygen_handler_openssl.cc", |
| 281 "base/openssl_private_key_store.h", | 285 "base/openssl_private_key_store.h", |
| 282 "base/openssl_private_key_store_memory.cc", | 286 "base/openssl_private_key_store_memory.cc", |
| 283 "cert/cert_database_openssl.cc", | 287 "cert/cert_database_openssl.cc", |
| 284 "cert/cert_verify_proc_openssl.cc", | 288 "cert/cert_verify_proc_openssl.cc", |
| 285 "cert/cert_verify_proc_openssl.h", | 289 "cert/cert_verify_proc_openssl.h", |
| 286 "cert/test_root_certs_openssl.cc", | 290 "cert/test_root_certs_openssl.cc", |
| 287 "cert/x509_certificate_openssl.cc", | 291 "cert/x509_certificate_openssl.cc", |
| 288 "ssl/openssl_client_key_store.cc", | 292 "ssl/openssl_client_key_store.cc", |
| 289 "ssl/openssl_client_key_store.h", | 293 "ssl/openssl_client_key_store.h", |
| 290 ] | 294 ] |
| 291 if (is_android) { | 295 if (is_android) { |
| 292 sources -= [ "base/openssl_private_key_store_android.cc" ] | 296 sources -= [ "base/openssl_private_key_store_android.cc" ] |
| 293 } | 297 } |
| 294 } else { | 298 } else if (!is_nacl) { |
| 295 if (is_android) { | 299 if (is_android) { |
| 296 # Android doesn't use these even when using OpenSSL. | 300 # Android doesn't use these even when using OpenSSL. |
| 297 sources -= [ | 301 sources -= [ |
| 298 "base/openssl_private_key_store_memory.cc", | 302 "base/openssl_private_key_store_memory.cc", |
| 299 "cert/cert_database_openssl.cc", | 303 "cert/cert_database_openssl.cc", |
| 300 "cert/cert_verify_proc_openssl.cc", | 304 "cert/cert_verify_proc_openssl.cc", |
| 301 "cert/test_root_certs_openssl.cc", | 305 "cert/test_root_certs_openssl.cc", |
| 302 ] | 306 ] |
| 303 } | 307 } |
| 304 | 308 |
| 305 # TODO(davidben): Remove these exclusions when use_openssl_certs builds also | 309 # TODO(davidben): Remove these exclusions when use_openssl_certs builds also |
| 306 # use the SSLPrivateKey machinery. | 310 # use the SSLPrivateKey machinery. |
| 307 sources -= [ | 311 sources -= [ |
| 308 "ssl/threaded_ssl_private_key.cc", | 312 "ssl/threaded_ssl_private_key.cc", |
| 309 "ssl/threaded_ssl_private_key.h", | 313 "ssl/threaded_ssl_private_key.h", |
| 310 ] | 314 ] |
| 311 } | 315 } |
| 312 | 316 |
| 313 if (use_glib && !is_chromeos) { | 317 if (use_glib && !is_chromeos) { |
| 314 configs += [ "//build/config/linux:gconf" ] | 318 configs += [ "//build/config/linux:gconf" ] |
| 315 deps += [ "//build/config/linux:gio" ] | 319 deps += [ "//build/config/linux:gio" ] |
| 316 } | 320 } |
| 317 | 321 |
| 318 if (is_linux) { | 322 if (is_linux) { |
| 319 configs += [ "//build/config/linux:libresolv" ] | 323 configs += [ "//build/config/linux:libresolv" ] |
| 320 } | 324 } |
| 321 | 325 |
| 322 if (!use_nss_certs) { | 326 if (!use_nss_certs && !is_nacl) { |
| 323 sources -= [ | 327 sources -= [ |
| 324 "base/crypto_module_nss.cc", | 328 "base/crypto_module_nss.cc", |
| 325 "base/keygen_handler_nss.cc", | 329 "base/keygen_handler_nss.cc", |
| 326 "cert/cert_database_nss.cc", | 330 "cert/cert_database_nss.cc", |
| 327 "cert/nss_cert_database.cc", | 331 "cert/nss_cert_database.cc", |
| 328 "cert/nss_cert_database.h", | 332 "cert/nss_cert_database.h", |
| 329 "cert/x509_certificate_nss.cc", | 333 "cert/x509_certificate_nss.cc", |
| 330 "ssl/client_cert_store_nss.cc", | 334 "ssl/client_cert_store_nss.cc", |
| 331 "ssl/client_cert_store_nss.h", | 335 "ssl/client_cert_store_nss.h", |
| 332 "third_party/mozilla_security_manager/nsKeygenHandler.cpp", | 336 "third_party/mozilla_security_manager/nsKeygenHandler.cpp", |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 355 "cert/nss_cert_database_chromeos.h", | 359 "cert/nss_cert_database_chromeos.h", |
| 356 "cert/nss_profile_filter_chromeos.cc", | 360 "cert/nss_profile_filter_chromeos.cc", |
| 357 "cert/nss_profile_filter_chromeos.h", | 361 "cert/nss_profile_filter_chromeos.h", |
| 358 ] | 362 ] |
| 359 } | 363 } |
| 360 sources -= [ | 364 sources -= [ |
| 361 "ssl/client_key_store.cc", | 365 "ssl/client_key_store.cc", |
| 362 "ssl/client_key_store.h", | 366 "ssl/client_key_store.h", |
| 363 "ssl/ssl_platform_key_nss.cc", | 367 "ssl/ssl_platform_key_nss.cc", |
| 364 ] | 368 ] |
| 365 } else if (use_openssl) { | 369 } else if (use_openssl_certs) { |
|
davidben
2015/08/28 17:08:27
I believe this breaks the GN Linux build. This sho
Sergey Ulanov
2015/08/31 21:59:33
I'm not sure why I changed this line. Reverted now
| |
| 366 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's | 370 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's |
| 367 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that file | 371 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that file |
| 368 # in directly. | 372 # in directly. |
| 369 sources += [ "third_party/nss/ssl/cmpcert.c" ] | 373 sources += [ "third_party/nss/ssl/cmpcert.c" ] |
| 370 } | 374 } |
| 371 | 375 |
| 372 if (!enable_websockets) { | 376 if (!enable_websockets) { |
| 373 sources -= [ | 377 sources -= [ |
| 374 "websockets/websocket_basic_handshake_stream.cc", | 378 "websockets/websocket_basic_handshake_stream.cc", |
| 375 "websockets/websocket_basic_handshake_stream.h", | 379 "websockets/websocket_basic_handshake_stream.h", |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 406 "websockets/websocket_handshake_stream_create_helper.cc", | 410 "websockets/websocket_handshake_stream_create_helper.cc", |
| 407 "websockets/websocket_handshake_stream_create_helper.h", | 411 "websockets/websocket_handshake_stream_create_helper.h", |
| 408 "websockets/websocket_inflater.cc", | 412 "websockets/websocket_inflater.cc", |
| 409 "websockets/websocket_inflater.h", | 413 "websockets/websocket_inflater.h", |
| 410 "websockets/websocket_mux.h", | 414 "websockets/websocket_mux.h", |
| 411 "websockets/websocket_stream.cc", | 415 "websockets/websocket_stream.cc", |
| 412 "websockets/websocket_stream.h", | 416 "websockets/websocket_stream.h", |
| 413 ] | 417 ] |
| 414 } | 418 } |
| 415 | 419 |
| 416 if (!enable_mdns) { | 420 if (!enable_mdns && !is_nacl) { |
| 417 sources -= [ | 421 sources -= [ |
| 418 "dns/mdns_cache.cc", | 422 "dns/mdns_cache.cc", |
| 419 "dns/mdns_cache.h", | 423 "dns/mdns_cache.h", |
| 420 "dns/mdns_client.cc", | 424 "dns/mdns_client.cc", |
| 421 "dns/mdns_client.h", | 425 "dns/mdns_client.h", |
| 422 "dns/mdns_client_impl.cc", | 426 "dns/mdns_client_impl.cc", |
| 423 "dns/mdns_client_impl.h", | 427 "dns/mdns_client_impl.h", |
| 424 "dns/record_parsed.cc", | 428 "dns/record_parsed.cc", |
| 425 "dns/record_parsed.h", | 429 "dns/record_parsed.h", |
| 426 "dns/record_rdata.cc", | 430 "dns/record_rdata.cc", |
| 427 "dns/record_rdata.h", | 431 "dns/record_rdata.h", |
| 428 ] | 432 ] |
| 429 } | 433 } |
| 430 | 434 |
| 431 if (is_win) { | 435 if (is_win) { |
| 432 sources -= [ | 436 sources -= [ |
| 433 "http/http_auth_handler_ntlm_portable.cc", | 437 "http/http_auth_handler_ntlm_portable.cc", |
| 434 "socket/socket_libevent.cc", | 438 "socket/socket_libevent.cc", |
| 435 "socket/socket_libevent.h", | 439 "socket/socket_libevent.h", |
| 436 "socket/tcp_socket_libevent.cc", | 440 "socket/tcp_socket_libevent.cc", |
| 437 "socket/tcp_socket_libevent.h", | 441 "socket/tcp_socket_libevent.h", |
| 438 "udp/udp_socket_libevent.cc", | 442 "udp/udp_socket_libevent.cc", |
| 439 "udp/udp_socket_libevent.h", | 443 "udp/udp_socket_libevent.h", |
| 440 ] | 444 ] |
| 441 } else { # !is_win | 445 } else if (!is_nacl) { # !is_win |
| 442 sources -= [ | 446 sources -= [ |
| 443 "base/winsock_init.cc", | 447 "base/winsock_init.cc", |
| 444 "base/winsock_init.h", | 448 "base/winsock_init.h", |
| 445 "base/winsock_util.cc", | 449 "base/winsock_util.cc", |
| 446 "base/winsock_util.h", | 450 "base/winsock_util.h", |
| 447 "proxy/proxy_resolver_winhttp.cc", | 451 "proxy/proxy_resolver_winhttp.cc", |
| 448 "proxy/proxy_resolver_winhttp.h", | 452 "proxy/proxy_resolver_winhttp.h", |
| 449 ] | 453 ] |
| 450 } | 454 } |
| 451 | 455 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 508 ] | 512 ] |
| 509 set_sources_assignment_filter(sources_assignment_filter) | 513 set_sources_assignment_filter(sources_assignment_filter) |
| 510 deps += [ ":net_jni_headers" ] | 514 deps += [ ":net_jni_headers" ] |
| 511 } | 515 } |
| 512 | 516 |
| 513 if (use_icu_alternatives_on_android) { | 517 if (use_icu_alternatives_on_android) { |
| 514 sources += [ | 518 sources += [ |
| 515 "base/net_string_util_icu_alternatives_android.cc", | 519 "base/net_string_util_icu_alternatives_android.cc", |
| 516 "base/net_string_util_icu_alternatives_android.h", | 520 "base/net_string_util_icu_alternatives_android.h", |
| 517 ] | 521 ] |
| 518 } else { | 522 } else if (!is_nacl) { |
| 519 deps += [ | 523 deps += [ |
| 520 "//base:i18n", | 524 "//base:i18n", |
| 521 "//third_party/icu", | 525 "//third_party/icu", |
| 522 ] | 526 ] |
| 523 sources += [ | 527 sources += [ |
| 524 "base/filename_util_icu.cc", | 528 "base/filename_util_icu.cc", |
| 525 "base/net_string_util_icu.cc", | 529 "base/net_string_util_icu.cc", |
| 526 "base/net_util_icu.cc", | 530 "base/net_util_icu.cc", |
| 527 ] | 531 ] |
| 528 } | 532 } |
| 533 | |
| 534 if (is_nacl) { | |
| 535 deps -= [ "//sdch", "//base:prefs" ] | |
| 536 public_deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | |
| 537 defines += [ "USE_OPENSSL_CERTS=1" ] | |
|
davidben
2015/08/28 17:08:27
Instead tweak the definition of use_openssl_certs
Sergey Ulanov
2015/08/31 21:59:33
Done.
| |
| 538 } | |
| 529 } | 539 } |
| 530 | 540 |
| 531 grit("net_resources") { | 541 grit("net_resources") { |
| 532 source = "base/net_resources.grd" | 542 source = "base/net_resources.grd" |
| 533 use_qualified_include = true | 543 use_qualified_include = true |
| 534 outputs = [ | 544 outputs = [ |
| 535 "grit/net_resources.h", | 545 "grit/net_resources.h", |
| 536 "net_resources.pak", | 546 "net_resources.pak", |
| 537 ] | 547 ] |
| 538 } | 548 } |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1700 if (enable_websockets) { | 1710 if (enable_websockets) { |
| 1701 sources += [ "websockets/websocket_frame_perftest.cc" ] | 1711 sources += [ "websockets/websocket_frame_perftest.cc" ] |
| 1702 } | 1712 } |
| 1703 | 1713 |
| 1704 if (use_v8_in_net) { | 1714 if (use_v8_in_net) { |
| 1705 deps += [ ":net_with_v8" ] | 1715 deps += [ ":net_with_v8" ] |
| 1706 } else { | 1716 } else { |
| 1707 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1717 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
| 1708 } | 1718 } |
| 1709 } | 1719 } |
| OLD | NEW |