Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: net/net_unittests.scons

Issue 7847: Using $CHROME_SRC_DIR in place of hash/..... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/net_resources.scons ('k') | net/stress_cache.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # On Linux, dependencies must follow dependents, so...
15 # 1) net must come before base and modp_b64. 15 # 1) net must come before base and modp_b64.
16 # 2) bzip2 must come before base. 16 # 2) bzip2 must come before base.
17 '$NET_DIR/using_net.scons', 17 '$NET_DIR/using_net.scons',
18 '$BZIP2_DIR/using_bzip2.scons', 18 '$BZIP2_DIR/using_bzip2.scons',
19 19
20 '$BASE_DIR/using_base.scons', 20 '$BASE_DIR/using_base.scons',
21 '#/../build/using_googleurl.scons', 21 '$CHROME_SRC_DIR/build/using_googleurl.scons',
22 '$GTEST_DIR/../using_gtest.scons', 22 '$GTEST_DIR/../using_gtest.scons',
23 '$ICU38_DIR/using_icu38.scons', 23 '$ICU38_DIR/using_icu38.scons',
24 '$MODP_B64_DIR/using_modp_b64.scons', 24 '$MODP_B64_DIR/using_modp_b64.scons',
25 '$SDCH_DIR/using_sdch.scons', 25 '$SDCH_DIR/using_sdch.scons',
26 '$ZLIB_DIR/using_zlib.scons', 26 '$ZLIB_DIR/using_zlib.scons',
27 ], {'env':env}) 27 ], {'env':env})
28 28
29 if env['PLATFORM'] in ('posix', 'darwin'): 29 if env['PLATFORM'] in ('posix', 'darwin'):
30 env.SConscript([ 30 env.SConscript([
31 '$LIBEVENT_DIR/using_libevent.scons', 31 '$LIBEVENT_DIR/using_libevent.scons',
32 ], {'env':env}) 32 ], {'env':env})
33 33
34 34
35 env.Prepend( 35 env.Prepend(
36 CPPPATH = [ 36 CPPPATH = [
37 '$ROOT_DIR', 37 '$CHROME_SRC_DIR',
38 ], 38 ],
39 ) 39 )
40 40
41 if env['PLATFORM'] == 'win32': 41 if env['PLATFORM'] == 'win32':
42 env.Prepend( 42 env.Prepend(
43 CCFLAGS = [ 43 CCFLAGS = [
44 '/TP', 44 '/TP',
45 '/WX', 45 '/WX',
46 ], 46 ],
47 CPPDEFINES = [ 47 CPPDEFINES = [
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 net_unittests = env.ChromeTestProgram('net_unittests', input_files) 121 net_unittests = env.ChromeTestProgram('net_unittests', input_files)
122 122
123 installed_test = env.Install('$TARGET_ROOT', net_unittests) 123 installed_test = env.Install('$TARGET_ROOT', net_unittests)
124 124
125 env.Alias('net', installed_test) 125 env.Alias('net', installed_test)
OLDNEW
« no previous file with comments | « net/net_resources.scons ('k') | net/stress_cache.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698