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

Side by Side Diff: third_party/bspatch/bspatch.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 | « testing/SConscript.gtest ('k') | third_party/bzip2/bzip2.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.ApplySConscript([ 9 env.ApplySConscript([
10 '$LZMA_SDK_DIR/using_lzma_sdk.scons', 10 '$LZMA_SDK_DIR/using_lzma_sdk.scons',
11 ]) 11 ])
12 12
13 if env['PLATFORM'] == 'win32': 13 if env.Bit('windows'):
14 env.Append( 14 env.Append(
15 CCFLAGS = [ 15 CCFLAGS = [
16 '/TP', 16 '/TP',
17 '/wd4800', 17 '/wd4800',
18 ], 18 ],
19 ) 19 )
20 elif env['PLATFORM'] == 'posix': 20 elif env.Bit('linux'):
21 # We're not responsible for bad warning hygiene in this third party code. 21 # We're not responsible for bad warning hygiene in this third party code.
22 env.FilterOut( 22 env.FilterOut(
23 CXXFLAGS = ['-Wall'], 23 CXXFLAGS = ['-Wall'],
24 ) 24 )
25 25
26 input_files = [ 26 input_files = [
27 'mbspatch.cc', 27 'mbspatch.cc',
28 ] 28 ]
29 29
30 env.ChromeStaticLibrary('bspatch', input_files) 30 env.ChromeStaticLibrary('bspatch', input_files)
OLDNEW
« no previous file with comments | « testing/SConscript.gtest ('k') | third_party/bzip2/bzip2.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698