OLD | NEW |
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 Loading... |
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 Loading... |
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. |
OLD | NEW |