| OLD | NEW |
| 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 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 __doc__ = """ | 5 __doc__ = """ |
| 6 Configuration for building the net_unittests{,.exe} executable. | 6 Configuration for building the net_unittests{,.exe} executable. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 Import('env') | 9 Import('env') |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 'disk_cache/block_files_unittest.cc', | 85 'disk_cache/block_files_unittest.cc', |
| 86 'disk_cache/disk_cache_test_base.cc', | 86 'disk_cache/disk_cache_test_base.cc', |
| 87 'disk_cache/disk_cache_test_util.cc', | 87 'disk_cache/disk_cache_test_util.cc', |
| 88 'disk_cache/entry_unittest.cc', | 88 'disk_cache/entry_unittest.cc', |
| 89 'disk_cache/mapped_file_unittest.cc', | 89 'disk_cache/mapped_file_unittest.cc', |
| 90 'disk_cache/storage_block_unittest.cc', | 90 'disk_cache/storage_block_unittest.cc', |
| 91 'http/http_auth_unittest.cc', | 91 'http/http_auth_unittest.cc', |
| 92 'http/http_auth_handler_basic_unittest.cc', | 92 'http/http_auth_handler_basic_unittest.cc', |
| 93 'http/http_auth_handler_digest_unittest.cc', | 93 'http/http_auth_handler_digest_unittest.cc', |
| 94 'http/http_chunked_decoder_unittest.cc', | 94 'http/http_chunked_decoder_unittest.cc', |
| 95 'http/http_network_transaction_unittest.cc', |
| 95 'http/http_response_headers_unittest.cc', | 96 'http/http_response_headers_unittest.cc', |
| 97 'http/http_transaction_unittest.cc', |
| 98 'http/http_util_unittest.cc', |
| 96 'http/http_vary_data_unittest.cc', | 99 'http/http_vary_data_unittest.cc', |
| 97 ] | 100 ] |
| 98 | 101 |
| 99 if env['PLATFORM'] == 'win32': | 102 if env['PLATFORM'] == 'win32': |
| 100 input_files.extend([ | 103 input_files.extend([ |
| 101 'base/directory_lister_unittest.cc', | 104 'base/directory_lister_unittest.cc', |
| 102 'base/sdch_filter_unittest.cc', | 105 'base/sdch_filter_unittest.cc', |
| 103 'base/ssl_config_service_unittest.cc', | 106 'base/ssl_config_service_unittest.cc', |
| 104 'base/ssl_client_socket_unittest.cc', | 107 'base/ssl_client_socket_unittest.cc', |
| 105 'base/wininet_util_unittest.cc', | 108 'base/wininet_util_unittest.cc', |
| 106 'http/http_cache_unittest.cc', | 109 'http/http_cache_unittest.cc', |
| 107 'http/http_network_layer_unittest.cc', | 110 'http/http_network_layer_unittest.cc', |
| 108 'http/http_network_transaction_unittest.cc', | |
| 109 'http/http_transaction_unittest.cc', | |
| 110 'http/http_transaction_winhttp_unittest.cc', | 111 'http/http_transaction_winhttp_unittest.cc', |
| 111 'http/http_util_unittest.cc', | |
| 112 'http/winhttp_request_throttle_unittest.cc', | 112 'http/winhttp_request_throttle_unittest.cc', |
| 113 'url_request/url_request_unittest.cc', | 113 'url_request/url_request_unittest.cc', |
| 114 ]) | 114 ]) |
| 115 | 115 |
| 116 if env['PLATFORM'] == 'darwin': | 116 if env['PLATFORM'] == 'darwin': |
| 117 input_files.extend([ | 117 input_files.extend([ |
| 118 '../base/platform_test_mac$OBJSUFFIX', | 118 '../base/platform_test_mac$OBJSUFFIX', |
| 119 ]) | 119 ]) |
| 120 | 120 |
| 121 if env['PLATFORM'] in ('darwin', 'posix'): | 121 if env['PLATFORM'] in ('darwin', 'posix'): |
| 122 input_files.extend([ | 122 input_files.extend([ |
| 123 'base/ssl_client_socket_unittest.cc', | 123 'base/ssl_client_socket_unittest.cc', |
| 124 ]) | 124 ]) |
| 125 | 125 |
| 126 net_unittests = env.ChromeTestProgram('net_unittests', input_files) | 126 net_unittests = env.ChromeTestProgram('net_unittests', input_files) |
| 127 | 127 |
| 128 installed_test = env.Install('$TARGET_ROOT', net_unittests) | 128 installed_test = env.Install('$TARGET_ROOT', net_unittests) |
| 129 | 129 |
| 130 env.Alias('net', installed_test) | 130 env.Alias('net', installed_test) |
| OLD | NEW |