OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 config("sqlite_config") { | 5 config("sqlite_config") { |
6 include_dirs = [ "." ] | 6 include_dirs = [ "." ] |
7 } | 7 } |
8 | 8 |
9 source_set("sqlite") { | 9 source_set("sqlite") { |
10 sources = [ | 10 sources = [ |
(...skipping 12 matching lines...) Expand all Loading... |
23 "src/ext/fts2/fts2_tokenizer.h", | 23 "src/ext/fts2/fts2_tokenizer.h", |
24 "src/ext/fts2/fts2_tokenizer1.c", | 24 "src/ext/fts2/fts2_tokenizer1.c", |
25 ] | 25 ] |
26 | 26 |
27 cflags = [] | 27 cflags = [] |
28 defines = [ | 28 defines = [ |
29 "SQLITE_CORE", | 29 "SQLITE_CORE", |
30 "SQLITE_ENABLE_BROKEN_FTS2", | 30 "SQLITE_ENABLE_BROKEN_FTS2", |
31 "SQLITE_ENABLE_FTS2", | 31 "SQLITE_ENABLE_FTS2", |
32 "SQLITE_ENABLE_FTS3", | 32 "SQLITE_ENABLE_FTS3", |
| 33 "SQLITE_DISABLE_FTS3_UNICODE", |
| 34 "SQLITE_DISABLE_FTS4_DEFERRED", |
33 "SQLITE_ENABLE_ICU", | 35 "SQLITE_ENABLE_ICU", |
34 "SQLITE_ENABLE_MEMORY_MANAGEMENT", | 36 "SQLITE_ENABLE_MEMORY_MANAGEMENT", |
35 "SQLITE_SECURE_DELETE", | 37 "SQLITE_SECURE_DELETE", |
36 "SQLITE_SEPARATE_CACHE_POOLS", | 38 "SQLITE_SEPARATE_CACHE_POOLS", |
37 "THREADSAFE", | 39 "THREADSAFE", |
38 "_HAS_EXCEPTIONS=0", | 40 "_HAS_EXCEPTIONS=0", |
39 ] | 41 ] |
40 if (is_chromeos) { | 42 if (is_chromeos) { |
41 defines += [ | 43 defines += [ |
42 # Despite obvious warnings about not using this flag in deployment, we | 44 # Despite obvious warnings about not using this flag in deployment, we |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 if (is_ios) { | 129 if (is_ios) { |
128 source_set("sqlite_regexp") { | 130 source_set("sqlite_regexp") { |
129 sources = [ | 131 sources = [ |
130 "src/ext/icu/icu.c", | 132 "src/ext/icu/icu.c", |
131 ] | 133 ] |
132 deps = [ | 134 deps = [ |
133 "//third_party/icu", | 135 "//third_party/icu", |
134 ] | 136 ] |
135 } | 137 } |
136 } | 138 } |
OLD | NEW |