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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 'http/http_transaction_winhttp_unittest.cc', | 112 'http/http_transaction_winhttp_unittest.cc', |
113 'http/winhttp_request_throttle_unittest.cc', | 113 'http/winhttp_request_throttle_unittest.cc', |
114 'url_request/url_request_unittest.cc', | 114 'url_request/url_request_unittest.cc', |
115 ]) | 115 ]) |
116 | 116 |
117 if env['PLATFORM'] == 'darwin': | 117 if env['PLATFORM'] == 'darwin': |
118 input_files.extend([ | 118 input_files.extend([ |
119 '../base/platform_test_mac$OBJSUFFIX', | 119 '../base/platform_test_mac$OBJSUFFIX', |
120 ]) | 120 ]) |
121 | 121 |
| 122 if env['PLATFORM'] == 'posix': |
| 123 input_files.extend([ |
| 124 'url_request/url_request_unittest.cc', |
| 125 ]) |
| 126 |
122 if env['PLATFORM'] in ('darwin', 'posix'): | 127 if env['PLATFORM'] in ('darwin', 'posix'): |
123 input_files.extend([ | 128 input_files.extend([ |
124 'base/ssl_client_socket_unittest.cc', | 129 'base/ssl_client_socket_unittest.cc', |
125 ]) | 130 ]) |
126 | 131 |
127 net_unittests = env.ChromeTestProgram('net_unittests', input_files) | 132 net_unittests = env.ChromeTestProgram('net_unittests', input_files) |
128 | 133 |
129 installed_test = env.Install('$TARGET_ROOT', net_unittests) | 134 installed_test = env.Install('$TARGET_ROOT', net_unittests) |
130 | 135 |
131 env.Alias('net', installed_test) | 136 env.Alias('net', installed_test) |
OLD | NEW |