| 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 |
| 11 env = env.Clone() | 11 env = env.Clone() |
| 12 | 12 |
| 13 env.SConscript([ | 13 env.SConscript([ |
| 14 # On Linux, dependencies must follow dependents, so... | 14 '$BASE_DIR/using_base.scons', |
| 15 # 1) net must come before base and modp_b64. | |
| 16 # 2) bzip2 must come before base. | |
| 17 '$NET_DIR/using_net.scons', | |
| 18 '$BZIP2_DIR/using_bzip2.scons', | 15 '$BZIP2_DIR/using_bzip2.scons', |
| 19 | |
| 20 '$BASE_DIR/using_base.scons', | |
| 21 '$CHROME_SRC_DIR/build/using_googleurl.scons', | 16 '$CHROME_SRC_DIR/build/using_googleurl.scons', |
| 17 '$DMG_FP_DIR/using_dmg_fp.scons', |
| 22 '$GTEST_DIR/../using_gtest.scons', | 18 '$GTEST_DIR/../using_gtest.scons', |
| 23 '$ICU38_DIR/using_icu38.scons', | 19 '$ICU38_DIR/using_icu38.scons', |
| 24 '$MODP_B64_DIR/using_modp_b64.scons', | 20 '$MODP_B64_DIR/using_modp_b64.scons', |
| 21 '$NET_DIR/using_net.scons', |
| 25 '$SDCH_DIR/using_sdch.scons', | 22 '$SDCH_DIR/using_sdch.scons', |
| 26 '$ZLIB_DIR/using_zlib.scons', | 23 '$ZLIB_DIR/using_zlib.scons', |
| 27 ], {'env':env}) | 24 ], {'env':env}) |
| 28 | 25 |
| 29 if env['PLATFORM'] in ('posix', 'darwin'): | 26 if env['PLATFORM'] in ('posix', 'darwin'): |
| 30 env.SConscript([ | 27 env.SConscript([ |
| 31 '$LIBEVENT_DIR/using_libevent.scons', | 28 '$LIBEVENT_DIR/using_libevent.scons', |
| 32 ], {'env':env}) | 29 ], {'env':env}) |
| 33 | 30 |
| 34 | 31 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 input_files.extend([ | 118 input_files.extend([ |
| 122 '../base/platform_test_mac$OBJSUFFIX', | 119 '../base/platform_test_mac$OBJSUFFIX', |
| 123 ]) | 120 ]) |
| 124 | 121 |
| 125 if env['PLATFORM'] == 'posix': | 122 if env['PLATFORM'] == 'posix': |
| 126 input_files.extend([ | 123 input_files.extend([ |
| 127 'url_request/url_request_unittest.cc', | 124 'url_request/url_request_unittest.cc', |
| 128 ]) | 125 ]) |
| 129 | 126 |
| 130 env.ChromeTestProgram('net_unittests', input_files) | 127 env.ChromeTestProgram('net_unittests', input_files) |
| OLD | NEW |