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

Side by Side Diff: testing/SConscript.gtest

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 | « skia/SConscript ('k') | third_party/bspatch/bspatch.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') 5 Import('env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 env.Prepend( 9 env.Prepend(
10 CPPPATH = [ 10 CPPPATH = [
11 '$GTEST_DIR', 11 '$GTEST_DIR',
12 '$GTEST_DIR/include', 12 '$GTEST_DIR/include',
13 ], 13 ],
14 ) 14 )
15 15
16 if env['PLATFORM'] == 'win32': 16 if env.Bit('windows'):
17 env.Append( 17 env.Append(
18 CCFLAGS = [ 18 CCFLAGS = [
19 '/TP', 19 '/TP',
20 20
21 '/WX', 21 '/WX',
22 '/Wp64', 22 '/Wp64',
23 ], 23 ],
24 ) 24 )
25 25
26 input_files = [ 26 input_files = [
27 'gtest/src/gtest-death-test.cc', 27 'gtest/src/gtest-death-test.cc',
28 'gtest/src/gtest-filepath.cc', 28 'gtest/src/gtest-filepath.cc',
29 'gtest/src/gtest-port.cc', 29 'gtest/src/gtest-port.cc',
30 'gtest/src/gtest.cc', 30 'gtest/src/gtest.cc',
31 'multiprocess_func_list.cc', 31 'multiprocess_func_list.cc',
32 ] 32 ]
33 33
34 env.ChromeStaticLibrary('gtest', input_files) 34 env.ChromeStaticLibrary('gtest', input_files)
35 35
OLDNEW
« no previous file with comments | « skia/SConscript ('k') | third_party/bspatch/bspatch.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698