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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 'http/http_response_headers_unittest.cc', | 96 'http/http_response_headers_unittest.cc', |
97 'http/http_transaction_unittest.cc', | 97 'http/http_transaction_unittest.cc', |
98 'http/http_util_unittest.cc', | 98 'http/http_util_unittest.cc', |
99 'http/http_vary_data_unittest.cc', | 99 'http/http_vary_data_unittest.cc', |
100 ] | 100 ] |
101 | 101 |
102 if env['PLATFORM'] == 'win32': | 102 if env['PLATFORM'] == 'win32': |
103 input_files.extend([ | 103 input_files.extend([ |
104 'base/directory_lister_unittest.cc', | 104 'base/directory_lister_unittest.cc', |
105 'base/sdch_filter_unittest.cc', | 105 'base/sdch_filter_unittest.cc', |
| 106 'base/filter_unittest.cc', |
106 'base/ssl_config_service_unittest.cc', | 107 'base/ssl_config_service_unittest.cc', |
107 'base/ssl_client_socket_unittest.cc', | 108 'base/ssl_client_socket_unittest.cc', |
108 'base/wininet_util_unittest.cc', | 109 'base/wininet_util_unittest.cc', |
109 'http/http_cache_unittest.cc', | 110 'http/http_cache_unittest.cc', |
110 'http/http_network_layer_unittest.cc', | 111 'http/http_network_layer_unittest.cc', |
111 'http/http_transaction_winhttp_unittest.cc', | 112 'http/http_transaction_winhttp_unittest.cc', |
112 'http/winhttp_request_throttle_unittest.cc', | 113 'http/winhttp_request_throttle_unittest.cc', |
113 'url_request/url_request_unittest.cc', | 114 'url_request/url_request_unittest.cc', |
114 ]) | 115 ]) |
115 | 116 |
116 if env['PLATFORM'] == 'darwin': | 117 if env['PLATFORM'] == 'darwin': |
117 input_files.extend([ | 118 input_files.extend([ |
118 '../base/platform_test_mac$OBJSUFFIX', | 119 '../base/platform_test_mac$OBJSUFFIX', |
119 ]) | 120 ]) |
120 | 121 |
121 if env['PLATFORM'] in ('darwin', 'posix'): | 122 if env['PLATFORM'] in ('darwin', 'posix'): |
122 input_files.extend([ | 123 input_files.extend([ |
123 'base/ssl_client_socket_unittest.cc', | 124 'base/ssl_client_socket_unittest.cc', |
124 ]) | 125 ]) |
125 | 126 |
126 net_unittests = env.ChromeTestProgram('net_unittests', input_files) | 127 net_unittests = env.ChromeTestProgram('net_unittests', input_files) |
127 | 128 |
128 installed_test = env.Install('$TARGET_ROOT', net_unittests) | 129 installed_test = env.Install('$TARGET_ROOT', net_unittests) |
129 | 130 |
130 env.Alias('net', installed_test) | 131 env.Alias('net', installed_test) |
OLD | NEW |