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

Side by Side Diff: third_party/lzma_sdk/lzma_sdk.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 | « third_party/libxslt/libxslt.scons ('k') | third_party/sqlite/SConscript » ('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 if env.WantSystemLib('lzma_sdk'): 9 if env.WantSystemLib('lzma_sdk'):
10 Return() 10 Return()
11 11
12 env.Prepend( 12 env.Prepend(
13 CPPPATH = [ 13 CPPPATH = [
14 '.', 14 '.',
15 '$CHROME_SRC_DIR', 15 '$CHROME_SRC_DIR',
16 ] 16 ]
17 ) 17 )
18 18
19 env.Append( 19 env.Append(
20 CPPDEFINES = [ 20 CPPDEFINES = [
21 '_LZMA_PROB32', 21 '_LZMA_PROB32',
22 '_LZMA_IN_CB', 22 '_LZMA_IN_CB',
23 ], 23 ],
24 ) 24 )
25 25
26 if env['PLATFORM'] == 'win32': 26 if env.Bit('windows'):
27 env.Append( 27 env.Append(
28 CCFLAGS = [ 28 CCFLAGS = [
29 '/TC', 29 '/TC',
30 '/wd4800', 30 '/wd4800',
31 ], 31 ],
32 ) 32 )
33 33
34 input_files = [ 34 input_files = [
35 '7zCrc.c', 35 '7zCrc.c',
36 'Archive/7z/7zAlloc.c', 36 'Archive/7z/7zAlloc.c',
37 'Archive/7z/7zBuffer.c', 37 'Archive/7z/7zBuffer.c',
38 'Archive/7z/7zDecode.c', 38 'Archive/7z/7zDecode.c',
39 'Archive/7z/7zExtract.c', 39 'Archive/7z/7zExtract.c',
40 'Archive/7z/7zHeader.c', 40 'Archive/7z/7zHeader.c',
41 'Archive/7z/7zIn.c', 41 'Archive/7z/7zIn.c',
42 'Archive/7z/7zItem.c', 42 'Archive/7z/7zItem.c',
43 'Archive/7z/7zMethodID.c', 43 'Archive/7z/7zMethodID.c',
44 'Compress/Branch/BranchX86.c', 44 'Compress/Branch/BranchX86.c',
45 'Compress/Branch/BranchX86_2.c', 45 'Compress/Branch/BranchX86_2.c',
46 'Compress/Lzma/LzmaDecode.c', 46 'Compress/Lzma/LzmaDecode.c',
47 ] 47 ]
48 48
49 env.ChromeStaticLibrary('lzma_sdk', input_files) 49 env.ChromeStaticLibrary('lzma_sdk', input_files)
OLDNEW
« no previous file with comments | « third_party/libxslt/libxslt.scons ('k') | third_party/sqlite/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698