OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'use_system_sqlite%': 0, | 7 'use_system_sqlite%': 0, |
8 'required_sqlite_version': '3.6.1', | 8 'required_sqlite_version': '3.6.1', |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
11 'defines': [ | 11 'defines': [ |
12 'SQLITE_CORE', | |
13 'SQLITE_ENABLE_FTS3', | 12 'SQLITE_ENABLE_FTS3', |
14 # New unicode61 tokenizer with built-in tables. | 13 # New unicode61 tokenizer with built-in tables. |
15 'SQLITE_DISABLE_FTS3_UNICODE', | 14 'SQLITE_DISABLE_FTS3_UNICODE', |
16 # Chromium currently does not enable fts4, disable extra code. | 15 # Chromium currently does not enable fts4, disable extra code. |
17 'SQLITE_DISABLE_FTS4_DEFERRED', | 16 'SQLITE_DISABLE_FTS4_DEFERRED', |
18 'SQLITE_ENABLE_ICU', | 17 'SQLITE_ENABLE_ICU', |
19 'SQLITE_ENABLE_MEMORY_MANAGEMENT', | 18 'SQLITE_ENABLE_MEMORY_MANAGEMENT', |
20 'SQLITE_SECURE_DELETE', | 19 'SQLITE_SECURE_DELETE', |
21 # Custom flag to tweak pcache pools. | 20 # Custom flag to tweak pcache pools. |
22 # TODO(shess): This shouldn't use faux-SQLite naming. | 21 # TODO(shess): This shouldn't use faux-SQLite naming. |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 },], | 194 },], |
196 ['OS == "ios"', { | 195 ['OS == "ios"', { |
197 'targets': [ | 196 'targets': [ |
198 { | 197 { |
199 'target_name': 'sqlite_regexp', | 198 'target_name': 'sqlite_regexp', |
200 'type': 'static_library', | 199 'type': 'static_library', |
201 'dependencies': [ | 200 'dependencies': [ |
202 '../icu/icu.gyp:icui18n', | 201 '../icu/icu.gyp:icui18n', |
203 '../icu/icu.gyp:icuuc', | 202 '../icu/icu.gyp:icuuc', |
204 ], | 203 ], |
| 204 'defines': [ |
| 205 # Necessary to statically compile the extension. |
| 206 'SQLITE_CORE', |
| 207 ], |
205 'sources': [ | 208 'sources': [ |
206 'src/ext/icu/icu.c', | 209 'src/ext/icu/icu.c', |
207 ], | 210 ], |
208 }, | 211 }, |
209 ], | 212 ], |
210 }], | 213 }], |
211 ], | 214 ], |
212 } | 215 } |
OLD | NEW |