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

Side by Side Diff: third_party/sqlite/SConscript

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/lzma_sdk/lzma_sdk.scons ('k') | third_party/zlib/zlib.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 9
10 env.Prepend( 10 env.Prepend(
(...skipping 10 matching lines...) Expand all
21 21
22 'SQLITE_ENABLE_FTS2', 22 'SQLITE_ENABLE_FTS2',
23 'SQLITE_ENABLE_BROKEN_FTS2', 23 'SQLITE_ENABLE_BROKEN_FTS2',
24 'SQLITE_ENABLE_ICU', 24 'SQLITE_ENABLE_ICU',
25 'SQLITE_SECURE_DELETE', 25 'SQLITE_SECURE_DELETE',
26 'THREADSAFE', 26 'THREADSAFE',
27 ['_HAS_EXCEPTIONS', '0'], 27 ['_HAS_EXCEPTIONS', '0'],
28 ], 28 ],
29 ) 29 )
30 30
31 if env['PLATFORM'] == 'win32': 31 if env.Bit('windows'):
32 env.Append( 32 env.Append(
33 CCFLAGS = [ 33 CCFLAGS = [
34 '/TC', 34 '/TC',
35 35
36 '/wd4800', 36 '/wd4800',
37 '/wd4244', 37 '/wd4244',
38 ], 38 ],
39 ) 39 )
40 40
41 input_files = [ 41 input_files = [
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 'vdbeaux.c', 87 'vdbeaux.c',
88 'vdbefifo.c', 88 'vdbefifo.c',
89 'vdbemem.c', 89 'vdbemem.c',
90 'vtab.c', 90 'vtab.c',
91 'where.c', 91 'where.c',
92 ] 92 ]
93 93
94 env.ChromeStaticLibrary('sqlite', input_files) 94 env.ChromeStaticLibrary('sqlite', input_files)
95 95
96 # TODO(tc): There should be a target to build the stand alone sqlite shell. 96 # TODO(tc): There should be a target to build the stand alone sqlite shell.
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/lzma_sdk.scons ('k') | third_party/zlib/zlib.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698