OLD | NEW |
1 # Copyright (c) 2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 # Ripped and modded from chrome. | 5 # Ripped and modded from chrome. |
6 | 6 |
7 Import('env') | 7 Import('env') |
8 | 8 |
9 env = env.Clone( | 9 env = env.Clone( |
10 ) | 10 ) |
(...skipping 24 matching lines...) Expand all Loading... |
35 # ], | 35 # ], |
36 | 36 |
37 CPPDEFINES = [ | 37 CPPDEFINES = [ |
38 'SQLITE_CORE', | 38 'SQLITE_CORE', |
39 'SQLITE_ENABLE_FTS1', | 39 'SQLITE_ENABLE_FTS1', |
40 'SQLITE_ENABLE_BROKEN_FTS1', | 40 'SQLITE_ENABLE_BROKEN_FTS1', |
41 'SQLITE_ENABLE_FTS2', | 41 'SQLITE_ENABLE_FTS2', |
42 'SQLITE_ENABLE_BROKEN_FTS2', | 42 'SQLITE_ENABLE_BROKEN_FTS2', |
43 'THREADSAFE=1', | 43 'THREADSAFE=1', |
44 'SQLITE_DEFAULT_FILE_PERMISSIONS=0600', | 44 'SQLITE_DEFAULT_FILE_PERMISSIONS=0600', |
45 'SQLITE_OMIT_ATTACH=1', | |
46 'SQLITE_OMIT_LOAD_EXTENSION=1', | 45 'SQLITE_OMIT_LOAD_EXTENSION=1', |
47 'SQLITE_OMIT_VACUUM=1', | |
48 'SQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1', | 46 'SQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1', |
| 47 'SQLITE_GEARS_DISABLE_SHELL_ICU', |
49 ], | 48 ], |
50 ) | 49 ) |
51 | 50 |
52 if env['OS'] in ['win32', 'wince']: | 51 if env['OS'] in ['win32', 'wince']: |
53 env.Append( | 52 env.Append( |
54 CPPFLAGS = [ | 53 CPPFLAGS = [ |
55 # from Chrome | 54 # from Chrome |
56 '/TC', | 55 '/TC', |
57 '/wd4800', | 56 '/wd4800', |
58 '/wd4244', | 57 '/wd4244', |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 '$SQLITE_DIR/src/vdbefifo.c', | 157 '$SQLITE_DIR/src/vdbefifo.c', |
159 '$SQLITE_DIR/src/vdbemem.c', | 158 '$SQLITE_DIR/src/vdbemem.c', |
160 '$SQLITE_DIR/src/vtab.c', | 159 '$SQLITE_DIR/src/vtab.c', |
161 '$SQLITE_DIR/src/where.c', | 160 '$SQLITE_DIR/src/where.c', |
162 ] | 161 ] |
163 | 162 |
164 if env['OS'] == 'symbian': | 163 if env['OS'] == 'symbian': |
165 input_files += ['os_symbian.cc'] | 164 input_files += ['os_symbian.cc'] |
166 | 165 |
167 env.GearsStaticLibrary('sqlite-gears', input_files) | 166 env.GearsStaticLibrary('sqlite-gears', input_files) |
OLD | NEW |