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

Side by Side Diff: chrome/common/ipc_tests.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 | « chrome/common/common.scons ('k') | chrome/installer/mini_installer/installer_unittests.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 Import('env', 'env') 5 Import('env', 'env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 env.SConscript([ 9 env.SConscript([
10 '$BASE_DIR/using_base.scons', 10 '$BASE_DIR/using_base.scons',
11 '$BREAKPAD_DIR/using_breakpad.scons', 11 '$BREAKPAD_DIR/using_breakpad.scons',
12 '$CHROME_DIR/third_party/wtl/using_wtl.scons', 12 '$CHROME_DIR/third_party/wtl/using_wtl.scons',
13 '$GTEST_DIR/../using_gtest.scons', 13 '$GTEST_DIR/../using_gtest.scons',
14 '$ICU38_DIR/using_icu38.scons', 14 '$ICU38_DIR/using_icu38.scons',
15 '$LIBJPEG_DIR/using_libjpeg.scons', 15 '$LIBJPEG_DIR/using_libjpeg.scons',
16 '$LIBPNG_DIR/using_libpng.scons', 16 '$LIBPNG_DIR/using_libpng.scons',
17 '$LIBXML_DIR/using_libxml.scons', 17 '$LIBXML_DIR/using_libxml.scons',
18 '$NPAPI_DIR/using_npapi.scons', 18 '$NPAPI_DIR/using_npapi.scons',
19 '$SKIA_DIR/using_skia.scons', 19 '$SKIA_DIR/using_skia.scons',
20 '$ZLIB_DIR/using_zlib.scons', 20 '$ZLIB_DIR/using_zlib.scons',
21 ], {'env':env}) 21 ], {'env':env})
22 22
23 if env['PLATFORM'] in ('posix', 'darwin'): 23 if env.Bit('posix'):
24 env.SConscript([ 24 env.SConscript([
25 '$LIBEVENT_DIR/using_libevent.scons', 25 '$LIBEVENT_DIR/using_libevent.scons',
26 ], {'env':env}) 26 ], {'env':env})
27 27
28 # TODO(sgk): convert into a using_*.scons pattern when we update WebKit. 28 # TODO(sgk): convert into a using_*.scons pattern when we update WebKit.
29 env.Append( 29 env.Append(
30 CPPPATH = [ 30 CPPPATH = [
31 '$WEBKIT_DIR/build/localized_strings', 31 '$WEBKIT_DIR/build/localized_strings',
32 ], 32 ],
33 ) 33 )
34 34
35 env.Prepend( 35 env.Prepend(
36 CPPPATH = [ 36 CPPPATH = [
37 '$CHROME_DIR/app/resources', 37 '$CHROME_DIR/app/resources',
38 '$CHROME_DIR/app', 38 '$CHROME_DIR/app',
39 '$CHROME_SRC_DIR', 39 '$CHROME_SRC_DIR',
40 ], 40 ],
41 LIBS = [ 41 LIBS = [
42 'common', 42 'common',
43 ] 43 ]
44 ) 44 )
45 45
46 if env['PLATFORM'] == 'win32': 46 if env.Bit('windows'):
47 env.Prepend( 47 env.Prepend(
48 CPPPATH = [ 48 CPPPATH = [
49 '$CHROME_DIR/tools/build/win', 49 '$CHROME_DIR/tools/build/win',
50 ], 50 ],
51 ) 51 )
52 52
53 if env['PLATFORM'] == 'win32': 53 if env.Bit('windows'):
54 env.Append( 54 env.Append(
55 LINKFLAGS = [ 55 LINKFLAGS = [
56 '/INCREMENTAL', 56 '/INCREMENTAL',
57 57
58 '/safeseh', 58 '/safeseh',
59 '/dynamicbase', 59 '/dynamicbase',
60 '/ignore:4199', 60 '/ignore:4199',
61 '/nxcompat', 61 '/nxcompat',
62 62
63 '/DELAYLOAD:"dwmapi.dll"', 63 '/DELAYLOAD:"dwmapi.dll"',
(...skipping 13 matching lines...) Expand all
77 input_files = [ 77 input_files = [
78 'ipc_fuzzing_tests.cc', 78 'ipc_fuzzing_tests.cc',
79 'ipc_tests.cc', 79 'ipc_tests.cc',
80 80
81 '$BASE_DIR/perftimer$OBJSUFFIX', 81 '$BASE_DIR/perftimer$OBJSUFFIX',
82 ] 82 ]
83 83
84 ipc_tests = env.ChromeTestProgram('ipc_tests', input_files) 84 ipc_tests = env.ChromeTestProgram('ipc_tests', input_files)
85 i = env.Install('$TARGET_ROOT', ipc_tests) 85 i = env.Install('$TARGET_ROOT', ipc_tests)
86 Alias('chrome', i) 86 Alias('chrome', i)
OLDNEW
« no previous file with comments | « chrome/common/common.scons ('k') | chrome/installer/mini_installer/installer_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698