OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'includes': [ |
| 10 '../build/common.gypi', |
| 11 ], |
| 12 'targets': [ |
| 13 { |
| 14 'target_name': 'net', |
| 15 'type': 'static_library', |
| 16 'dependencies': [ |
| 17 '../base/base.gyp:base', |
| 18 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 19 '../sdch/sdch.gyp:sdch', |
| 20 '../third_party/bzip2/bzip2.gyp:bzip2', |
| 21 '../third_party/icu38/icu38.gyp:icui18n', |
| 22 '../third_party/icu38/icu38.gyp:icuuc', |
| 23 '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
| 24 '../third_party/zlib/zlib.gyp:zlib', |
| 25 ], |
| 26 'sources': [ |
| 27 'base/address_list.cc', |
| 28 'base/address_list.h', |
| 29 'base/auth.h', |
| 30 'base/base64.cc', |
| 31 'base/base64.h', |
| 32 'base/bzip2_filter.cc', |
| 33 'base/bzip2_filter.h', |
| 34 'base/cert_status_flags.cc', |
| 35 'base/cert_status_flags.h', |
| 36 'base/cert_verifier.cc', |
| 37 'base/cert_verifier.h', |
| 38 'base/cert_verify_result.h', |
| 39 'base/client_socket.cc', |
| 40 'base/client_socket.h', |
| 41 'base/client_socket_factory.cc', |
| 42 'base/client_socket_factory.h', |
| 43 'base/client_socket_handle.cc', |
| 44 'base/client_socket_handle.h', |
| 45 'base/client_socket_pool.cc', |
| 46 'base/client_socket_pool.h', |
| 47 'base/completion_callback.h', |
| 48 'base/connection_type_histograms.cc', |
| 49 'base/connection_type_histograms.h', |
| 50 'base/cookie_monster.cc', |
| 51 'base/cookie_monster.h', |
| 52 'base/cookie_policy.cc', |
| 53 'base/cookie_policy.h', |
| 54 'base/data_url.cc', |
| 55 'base/data_url.h', |
| 56 'base/directory_lister.cc', |
| 57 'base/directory_lister.h', |
| 58 'base/dns_resolution_observer.cc', |
| 59 'base/dns_resolution_observer.h', |
| 60 'base/effective_tld_names.cc', |
| 61 'base/effective_tld_names.dat', |
| 62 'base/escape.cc', |
| 63 'base/escape.h', |
| 64 'base/ev_root_ca_metadata.cc', |
| 65 'base/ev_root_ca_metadata.h', |
| 66 'base/file_stream.h', |
| 67 'base/file_stream_posix.cc', |
| 68 'base/file_stream_win.cc', |
| 69 'base/filter.cc', |
| 70 'base/filter.h', |
| 71 'base/gzip_filter.cc', |
| 72 'base/gzip_filter.h', |
| 73 'base/gzip_header.cc', |
| 74 'base/gzip_header.h', |
| 75 'base/host_resolver.cc', |
| 76 'base/host_resolver.h', |
| 77 'base/io_buffer.cc', |
| 78 'base/io_buffer.h', |
| 79 'base/listen_socket.cc', |
| 80 'base/listen_socket.h', |
| 81 'base/load_flags.h', |
| 82 'base/mime_sniffer.cc', |
| 83 'base/mime_sniffer.h', |
| 84 'base/mime_util.cc', |
| 85 'base/mime_util.h', |
| 86 'base/net_error_list.h', |
| 87 'base/net_errors.cc', |
| 88 'base/net_errors.h', |
| 89 'base/net_module.cc', |
| 90 'base/net_module.h', |
| 91 'base/net_resources.h', |
| 92 'base/net_util.cc', |
| 93 'base/net_util.h', |
| 94 'base/net_util_posix.cc', |
| 95 'base/net_util_win.cc', |
| 96 'base/nss_memio.c', |
| 97 'base/platform_mime_util.h', |
| 98 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? |
| 99 'base/platform_mime_util_linux.cc', |
| 100 'base/platform_mime_util_mac.cc', |
| 101 'base/platform_mime_util_win.cc', |
| 102 'base/registry_controlled_domain.cc', |
| 103 'base/registry_controlled_domain.h', |
| 104 'base/scoped_cert_chain_context.h', |
| 105 'base/sdch_filter.cc', |
| 106 'base/sdch_filter.h', |
| 107 'base/sdch_manager.cc', |
| 108 'base/sdch_manager.h', |
| 109 'base/socket.h', |
| 110 'base/ssl_client_socket.h', |
| 111 'base/ssl_client_socket_mac.cc', |
| 112 'base/ssl_client_socket_nss.cc', |
| 113 'base/ssl_client_socket_win.cc', |
| 114 'base/ssl_client_socket_win.h', |
| 115 'base/ssl_config_service.cc', |
| 116 'base/ssl_config_service.h', |
| 117 'base/ssl_info.h', |
| 118 'base/ssl_test_util.cc', |
| 119 'base/tcp_client_socket.h', |
| 120 'base/tcp_client_socket_libevent.cc', |
| 121 'base/tcp_client_socket_win.cc', |
| 122 'base/telnet_server.cc', |
| 123 'base/telnet_server.h', |
| 124 'base/upload_data.cc', |
| 125 'base/upload_data.h', |
| 126 'base/upload_data_stream.cc', |
| 127 'base/upload_data_stream.h', |
| 128 'base/wininet_util.cc', |
| 129 'base/wininet_util.h', |
| 130 'base/winsock_init.cc', |
| 131 'base/winsock_init.h', |
| 132 'base/x509_certificate.cc', |
| 133 'base/x509_certificate.h', |
| 134 'base/x509_certificate_mac.cc', |
| 135 'base/x509_certificate_nss.cc', |
| 136 'base/x509_certificate_win.cc', |
| 137 'build/precompiled_net.cc', |
| 138 'build/precompiled_net.h', |
| 139 'disk_cache/addr.cc', |
| 140 'disk_cache/addr.h', |
| 141 'disk_cache/backend_impl.cc', |
| 142 'disk_cache/backend_impl.h', |
| 143 'disk_cache/block_files.cc', |
| 144 'disk_cache/block_files.h', |
| 145 'disk_cache/cache_util.h', |
| 146 'disk_cache/cache_util_posix.cc', |
| 147 'disk_cache/cache_util_win.cc', |
| 148 'disk_cache/disk_cache.h', |
| 149 'disk_cache/disk_format.h', |
| 150 'disk_cache/entry_impl.cc', |
| 151 'disk_cache/entry_impl.h', |
| 152 'disk_cache/errors.h', |
| 153 'disk_cache/eviction.cc', |
| 154 'disk_cache/eviction.h', |
| 155 'disk_cache/file.h', |
| 156 'disk_cache/file_block.h', |
| 157 'disk_cache/file_lock.cc', |
| 158 'disk_cache/file_lock.h', |
| 159 'disk_cache/file_posix.cc', |
| 160 'disk_cache/file_win.cc', |
| 161 'disk_cache/hash.cc', |
| 162 'disk_cache/hash.h', |
| 163 'disk_cache/mapped_file.h', |
| 164 'disk_cache/mapped_file_posix.cc', |
| 165 'disk_cache/mapped_file_win.cc', |
| 166 'disk_cache/mem_backend_impl.cc', |
| 167 'disk_cache/mem_backend_impl.h', |
| 168 'disk_cache/mem_entry_impl.cc', |
| 169 'disk_cache/mem_entry_impl.h', |
| 170 'disk_cache/mem_rankings.cc', |
| 171 'disk_cache/mem_rankings.h', |
| 172 'disk_cache/rankings.cc', |
| 173 'disk_cache/rankings.h', |
| 174 'disk_cache/stats.cc', |
| 175 'disk_cache/stats.h', |
| 176 'disk_cache/stats_histogram.cc', |
| 177 'disk_cache/stats_histogram.h', |
| 178 'disk_cache/storage_block-inl.h', |
| 179 'disk_cache/storage_block.h', |
| 180 'disk_cache/trace.cc', |
| 181 'disk_cache/trace.h', |
| 182 'ftp/ftp_auth_cache.cc', |
| 183 'ftp/ftp_auth_cache.h', |
| 184 'ftp/ftp_network_layer.cc', |
| 185 'ftp/ftp_network_layer.h', |
| 186 'ftp/ftp_network_session.h', |
| 187 'ftp/ftp_network_transaction.cc', |
| 188 'ftp/ftp_network_transaction.h', |
| 189 'ftp/ftp_request_info.h', |
| 190 'ftp/ftp_response_info.h', |
| 191 'ftp/ftp_transaction.h', |
| 192 'ftp/ftp_transaction_factory.h', |
| 193 'http/http_atom_list.h', |
| 194 'http/http_auth.cc', |
| 195 'http/http_auth.h', |
| 196 'http/http_auth_cache.cc', |
| 197 'http/http_auth_cache.h', |
| 198 'http/http_auth_handler.h', |
| 199 'http/http_auth_handler.cc', |
| 200 'http/http_auth_handler_basic.cc', |
| 201 'http/http_auth_handler_basic.h', |
| 202 'http/http_auth_handler_digest.cc', |
| 203 'http/http_auth_handler_digest.h', |
| 204 'http/http_cache.cc', |
| 205 'http/http_cache.h', |
| 206 'http/http_chunked_decoder.cc', |
| 207 'http/http_chunked_decoder.h', |
| 208 'http/http_network_layer.cc', |
| 209 'http/http_network_layer.h', |
| 210 'http/http_network_session.h', |
| 211 'http/http_network_transaction.cc', |
| 212 'http/http_network_transaction.h', |
| 213 'http/http_request_info.h', |
| 214 'http/http_response_headers.cc', |
| 215 'http/http_response_headers.h', |
| 216 'http/http_response_info.cc', |
| 217 'http/http_response_info.h', |
| 218 'http/http_transaction.h', |
| 219 'http/http_transaction_factory.h', |
| 220 'http/http_util.cc', |
| 221 'http/http_util.h', |
| 222 'http/http_vary_data.cc', |
| 223 'http/http_vary_data.h', |
| 224 'proxy/proxy_config_service_fixed.h', |
| 225 'proxy/proxy_config_service_win.cc', |
| 226 'proxy/proxy_config_service_win.h', |
| 227 'proxy/proxy_resolver_mac.cc', |
| 228 'proxy/proxy_resolver_winhttp.cc', |
| 229 'proxy/proxy_resolver_winhttp.h', |
| 230 'proxy/proxy_script_fetcher.cc', |
| 231 'proxy/proxy_script_fetcher.h', |
| 232 'proxy/proxy_server.cc', |
| 233 'proxy/proxy_server.h', |
| 234 'proxy/proxy_service.cc', |
| 235 'proxy/proxy_service.h', |
| 236 'url_request/mime_sniffer_proxy.cc', |
| 237 'url_request/mime_sniffer_proxy.h', |
| 238 'url_request/url_request.cc', |
| 239 'url_request/url_request.h', |
| 240 'url_request/url_request_about_job.cc', |
| 241 'url_request/url_request_about_job.h', |
| 242 'url_request/url_request_context.h', |
| 243 'url_request/url_request_error_job.cc', |
| 244 'url_request/url_request_error_job.h', |
| 245 'url_request/url_request_file_dir_job.cc', |
| 246 'url_request/url_request_file_dir_job.h', |
| 247 'url_request/url_request_file_job.cc', |
| 248 'url_request/url_request_file_job.h', |
| 249 'url_request/url_request_filter.cc', |
| 250 'url_request/url_request_filter.h', |
| 251 'url_request/url_request_ftp_job.cc', |
| 252 'url_request/url_request_ftp_job.h', |
| 253 'url_request/url_request_http_job.cc', |
| 254 'url_request/url_request_http_job.h', |
| 255 'url_request/url_request_inet_job.cc', |
| 256 'url_request/url_request_inet_job.h', |
| 257 'url_request/url_request_job.cc', |
| 258 'url_request/url_request_job.h', |
| 259 'url_request/url_request_job_manager.cc', |
| 260 'url_request/url_request_job_manager.h', |
| 261 'url_request/url_request_job_metrics.cc', |
| 262 'url_request/url_request_job_metrics.h', |
| 263 'url_request/url_request_job_tracker.cc', |
| 264 'url_request/url_request_job_tracker.h', |
| 265 'url_request/url_request_simple_job.cc', |
| 266 'url_request/url_request_simple_job.h', |
| 267 'url_request/url_request_status.h', |
| 268 'url_request/url_request_test_job.cc', |
| 269 'url_request/url_request_test_job.h', |
| 270 'url_request/url_request_view_cache_job.cc', |
| 271 'url_request/url_request_view_cache_job.h', |
| 272 ], |
| 273 'sources!': [ |
| 274 'build/precompiled_net.h', |
| 275 'build/precompiled_net.cc', |
| 276 ], |
| 277 'export_dependent_settings': [ |
| 278 '../base/base.gyp:base', |
| 279 ], |
| 280 'conditions': [ |
| 281 [ 'OS == "win"', { |
| 282 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ], |
| 283 'sources!': [ |
| 284 'base/tcp_client_socket_libevent.cc', |
| 285 ], |
| 286 'dependencies': [ |
| 287 'net_resources', |
| 288 'tld_cleanup', |
| 289 ], |
| 290 'configurations': { |
| 291 'Debug': { |
| 292 'msvs_precompiled_header': 'build/precompiled_net.h', |
| 293 'msvs_precompiled_source': 'build/precompiled_net.cc', |
| 294 }, |
| 295 }, |
| 296 }, |
| 297 { # else: OS != "win" |
| 298 'sources!': [ |
| 299 'base/ssl_config_service.cc', |
| 300 'base/wininet_util.cc', |
| 301 'base/winsock_init.cc', |
| 302 'proxy/proxy_resolver_winhttp.cc', |
| 303 'url_request/url_request_ftp_job.cc', |
| 304 'url_request/url_request_inet_job.cc', |
| 305 ], |
| 306 }, |
| 307 ], |
| 308 [ 'OS == "linux"', { |
| 309 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ], |
| 310 'dependencies': [ |
| 311 'net_resources', |
| 312 ], |
| 313 }, |
| 314 { # else: OS != "linux" |
| 315 'sources!': [ |
| 316 'base/nss_memio.c', |
| 317 'base/ssl_client_socket_nss.cc', |
| 318 'base/x509_certificate_nss.cc', |
| 319 ], |
| 320 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux. |
| 321 'dependencies': [ |
| 322 '../third_party/icu38/icu38.gyp:icui18n', |
| 323 '../third_party/icu38/icu38.gyp:icuuc', |
| 324 ], |
| 325 }, |
| 326 ], |
| 327 [ 'OS == "mac"', { |
| 328 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ], |
| 329 'link_settings': { |
| 330 'libraries': [ |
| 331 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 332 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew
ork', |
| 333 ] |
| 334 }, |
| 335 }, |
| 336 ], |
| 337 [ 'OS == "win"', { |
| 338 # This used to live in build_convert_tld_data.rules |
| 339 #'msvs_tool_files': ['build/convert_tld_data.rules'], |
| 340 'rules': [ |
| 341 { |
| 342 'rule_name': 'tld_convert', |
| 343 'extension': 'dat', |
| 344 'inputs': [ '<(RULE_INPUT_PATH)' ], |
| 345 'outputs': |
| 346 ['<(INTERMEDIATE_DIR)/../<(RULE_INPUT_ROOT)_clean.dat'], |
| 347 'action': |
| 348 ['<(PRODUCT_DIR)/tld_cleanup', '<@(_inputs)', '<@(_outputs)'], |
| 349 }, |
| 350 ], |
| 351 },], |
| 352 ], |
| 353 }, |
| 354 { |
| 355 'target_name': 'net_unittests', |
| 356 'type': 'executable', |
| 357 'dependencies': [ |
| 358 'net', |
| 359 '../base/base.gyp:base', |
| 360 '../testing/gtest.gyp:gtest', |
| 361 ], |
| 362 'sources': [ |
| 363 'base/base64_unittest.cc', |
| 364 'base/bzip2_filter_unittest.cc', |
| 365 'base/client_socket_pool_unittest.cc', |
| 366 'base/cookie_monster_unittest.cc', |
| 367 'base/cookie_policy_unittest.cc', |
| 368 'base/data_url_unittest.cc', |
| 369 'base/directory_lister_unittest.cc', |
| 370 'base/escape_unittest.cc', |
| 371 'base/file_stream_unittest.cc', |
| 372 'base/filter_unittest.cc', |
| 373 'base/gzip_filter_unittest.cc', |
| 374 'base/host_resolver_unittest.cc', |
| 375 'base/listen_socket_unittest.cc', |
| 376 'base/listen_socket_unittest.h', |
| 377 'base/mime_sniffer_unittest.cc', |
| 378 'base/mime_util_unittest.cc', |
| 379 'base/net_util_unittest.cc', |
| 380 'base/registry_controlled_domain_unittest.cc', |
| 381 'base/run_all_unittests.cc', |
| 382 'base/sdch_filter_unittest.cc', |
| 383 'base/ssl_client_socket_unittest.cc', |
| 384 'base/ssl_config_service_unittest.cc', |
| 385 'base/tcp_client_socket_unittest.cc', |
| 386 'base/telnet_server_unittest.cc', |
| 387 'base/test_completion_callback_unittest.cc', |
| 388 'base/wininet_util_unittest.cc', |
| 389 'base/x509_certificate_unittest.cc', |
| 390 'disk_cache/addr_unittest.cc', |
| 391 'disk_cache/backend_unittest.cc', |
| 392 'disk_cache/block_files_unittest.cc', |
| 393 'disk_cache/disk_cache_test_base.cc', |
| 394 'disk_cache/disk_cache_test_base.h', |
| 395 'disk_cache/disk_cache_test_util.cc', |
| 396 'disk_cache/disk_cache_test_util.h', |
| 397 'disk_cache/entry_unittest.cc', |
| 398 'disk_cache/mapped_file_unittest.cc', |
| 399 'disk_cache/storage_block_unittest.cc', |
| 400 'ftp/ftp_auth_cache_unittest.cc', |
| 401 'http/http_auth_cache_unittest.cc', |
| 402 'http/http_auth_handler_basic_unittest.cc', |
| 403 'http/http_auth_handler_digest_unittest.cc', |
| 404 'http/http_auth_unittest.cc', |
| 405 'http/http_cache_unittest.cc', |
| 406 'http/http_chunked_decoder_unittest.cc', |
| 407 'http/http_network_layer_unittest.cc', |
| 408 'http/http_network_transaction_unittest.cc', |
| 409 'http/http_response_headers_unittest.cc', |
| 410 'http/http_transaction_unittest.cc', |
| 411 'http/http_transaction_unittest.h', |
| 412 'http/http_util_unittest.cc', |
| 413 'http/http_vary_data_unittest.cc', |
| 414 'proxy/proxy_script_fetcher_unittest.cc', |
| 415 'proxy/proxy_service_unittest.cc', |
| 416 'url_request/url_request_unittest.cc', |
| 417 'url_request/url_request_unittest.h', |
| 418 ], |
| 419 'conditions': [ |
| 420 [ 'OS != "win"', { |
| 421 'sources!': [ |
| 422 'base/wininet_util_unittest.cc', |
| 423 ], |
| 424 }, |
| 425 ], |
| 426 [ 'OS == "linux"', { |
| 427 'sources!': [ |
| 428 'base/sdch_filter_unittest.cc', |
| 429 'base/ssl_config_service_unittest.cc', |
| 430 ], |
| 431 }, |
| 432 ], |
| 433 [ 'OS == "mac"', { |
| 434 'sources!': [ |
| 435 'base/ssl_config_service_unittest.cc', |
| 436 ], |
| 437 }, |
| 438 ], |
| 439 # This is needed to trigger the dll copy step on windows. |
| 440 # TODO(mark): Specifying this here shouldn't be necessary. |
| 441 [ 'OS == "win"', { |
| 442 'dependencies': [ |
| 443 '../third_party/icu38/icu38.gyp:icudata', |
| 444 ], |
| 445 }, |
| 446 ], |
| 447 ], |
| 448 }, |
| 449 { |
| 450 'target_name': 'net_perftests', |
| 451 'type': 'executable', |
| 452 'dependencies': [ |
| 453 'net', |
| 454 '../base/base.gyp:base', |
| 455 '../testing/gtest.gyp:gtest', |
| 456 ], |
| 457 'sources': [ |
| 458 '../base/perftimer.cc', |
| 459 '../base/run_all_perftests.cc', |
| 460 'base/cookie_monster_perftest.cc', |
| 461 'disk_cache/disk_cache_perftest.cc', |
| 462 'disk_cache/disk_cache_test_util.cc', |
| 463 ], |
| 464 'conditions': [ |
| 465 # This is needed to trigger the dll copy step on windows. |
| 466 # TODO(mark): Specifying this here shouldn't be necessary. |
| 467 [ 'OS == "win"', { |
| 468 'dependencies': [ |
| 469 '../third_party/icu38/icu38.gyp:icudata', |
| 470 ], |
| 471 }, |
| 472 ], |
| 473 ], |
| 474 }, |
| 475 { |
| 476 'target_name': 'stress_cache', |
| 477 'type': 'executable', |
| 478 'dependencies': [ |
| 479 'net', |
| 480 '../base/base.gyp:base', |
| 481 ], |
| 482 'sources': [ |
| 483 'disk_cache/disk_cache_test_util.cc', |
| 484 'disk_cache/stress_cache.cc', |
| 485 ], |
| 486 }, |
| 487 { |
| 488 'target_name': 'tld_cleanup', |
| 489 'type': 'executable', |
| 490 'dependencies': [ |
| 491 '../base/base.gyp:base', |
| 492 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 493 ], |
| 494 'sources': [ |
| 495 'tools/tld_cleanup/tld_cleanup.cc', |
| 496 ], |
| 497 }, |
| 498 { |
| 499 'target_name': 'crash_cache', |
| 500 'type': 'executable', |
| 501 'dependencies': [ |
| 502 'net', |
| 503 '../base/base.gyp:base', |
| 504 ], |
| 505 'sources': [ |
| 506 'tools/crash_cache/crash_cache.cc', |
| 507 'disk_cache/disk_cache_test_util.cc', |
| 508 ], |
| 509 }, |
| 510 ], |
| 511 'conditions': [ |
| 512 ['OS=="win"', { |
| 513 'targets': [ |
| 514 { |
| 515 'target_name': 'net_resources', |
| 516 'type': 'none', |
| 517 'sources': [ |
| 518 'base/net_resources.grd', |
| 519 ], |
| 520 #'msvs_tool_files': ['../tools/grit/build/grit_resources.rules'], |
| 521 # This was orignally in grit_resources.rules |
| 522 # NOTE: this version doesn't mimic the Properties specified there. |
| 523 'rules': [ |
| 524 { |
| 525 'rule_name': 'grit', |
| 526 'extension': 'grd', |
| 527 'inputs': [ |
| 528 '<(DEPTH)/tools/grit/grit.py', |
| 529 ], |
| 530 'outputs': [ |
| 531 '<(SHARED_INTERMEDIATE_DIR)/grit_derived_sources/<(RULE_INPUT_RO
OT).h', |
| 532 ], |
| 533 'action': |
| 534 ['python', '<(DEPTH)/tools/grit/grit.py', '-i', '<(RULE_INPUT_PA
TH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/grit_derived_sources'], |
| 535 }, |
| 536 ], |
| 537 'direct_dependent_settings': { |
| 538 'include_dirs': [ |
| 539 '<(SHARED_INTERMEDIATE_DIR)/grit_derived_sources', |
| 540 ], |
| 541 }, |
| 542 }, |
| 543 { |
| 544 # TODO(port): dump_cache is still Windows-specific. |
| 545 'target_name': 'dump_cache', |
| 546 'type': 'executable', |
| 547 'dependencies': [ |
| 548 'net', |
| 549 '../base/base.gyp:base', |
| 550 ], |
| 551 'sources': [ |
| 552 'tools/dump_cache/dump_cache.cc', |
| 553 'tools/dump_cache/dump_files.cc', |
| 554 'tools/dump_cache/upgrade.cc', |
| 555 ], |
| 556 }, |
| 557 ], |
| 558 }], |
| 559 ['OS=="linux"', { |
| 560 'targets': [ |
| 561 { |
| 562 'target_name': 'net_resources', |
| 563 'type': 'resource', |
| 564 'sources': [ |
| 565 'base/net_resources.grd', |
| 566 '../../grit_derived_sources/effective_tld_names_clean.dat', |
| 567 ], |
| 568 'direct_dependent_settings': { |
| 569 'include_dirs': [ |
| 570 '../../grit_derived_sources' |
| 571 # FIXME: Should use one of the INTERMEDIATE dirs, e.g.: |
| 572 # '$(obj)/gen' |
| 573 ], |
| 574 }, |
| 575 'actions': [ |
| 576 { |
| 577 'action_name': 'net_resources_h', |
| 578 'inputs': [ |
| 579 'tld_cleanup', |
| 580 'base/effective_tld_names.dat', |
| 581 ], |
| 582 'outputs': [ |
| 583 '../../grit_derived_sources/effective_tld_names_clean.dat', |
| 584 ], |
| 585 # An 'action' like this would expand things at gyp time: |
| 586 #'action': 'tld_cleanup <@(_inputs) <@(_outputs)', |
| 587 # But that doesn't work well with the SCons variant dir |
| 588 # stuff that builds everything underneath Hammer. Just |
| 589 # put a SCons string in the action, at least for now. |
| 590 'action': ['${SOURCES[0]}', '${SOURCES[1]}', '$TARGET'], |
| 591 } |
| 592 ], |
| 593 }, |
| 594 ], |
| 595 }], |
| 596 ], |
| 597 } |
OLD | NEW |