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

Side by Side Diff: third_party/sqlite/sqlite.gyp

Issue 999573003: [sql] Stop building fts2. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | no next file » | 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) 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': {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 }, 102 },
103 }], 103 }],
104 ], 104 ],
105 }, { # !use_system_sqlite 105 }, { # !use_system_sqlite
106 'product_name': 'sqlite3', 106 'product_name': 'sqlite3',
107 'type': 'static_library', 107 'type': 'static_library',
108 'sources': [ 108 'sources': [
109 'amalgamation/sqlite3.h', 109 'amalgamation/sqlite3.h',
110 'amalgamation/sqlite3.c', 110 'amalgamation/sqlite3.c',
111 ], 111 ],
112
113 # TODO(shess): Previously fts1 and rtree files were
114 # explicitly excluded from the build. Make sure they are
115 # logically still excluded.
116
117 # TODO(shess): Should all of the sources be listed and then
118 # excluded? For editing purposes?
119
120 'include_dirs': [ 112 'include_dirs': [
121 'amalgamation', 113 'amalgamation',
122 ], 114 ],
123 'dependencies': [ 115 'dependencies': [
124 '../icu/icu.gyp:icui18n', 116 '../icu/icu.gyp:icui18n',
125 '../icu/icu.gyp:icuuc', 117 '../icu/icu.gyp:icuuc',
126 ], 118 ],
127 'direct_dependent_settings': { 119 'direct_dependent_settings': {
128 'include_dirs': [ 120 'include_dirs': [
129 '.', 121 '.',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 '-Wno-int-to-pointer-cast', 157 '-Wno-int-to-pointer-cast',
166 '-Wno-pointer-to-int-cast', 158 '-Wno-pointer-to-int-cast',
167 ], 159 ],
168 }], 160 }],
169 # Enable feedback-directed optimisation for sqlite when building in android. 161 # Enable feedback-directed optimisation for sqlite when building in android.
170 ['android_webview_build == 1', { 162 ['android_webview_build == 1', {
171 'aosp_build_settings': { 163 'aosp_build_settings': {
172 'LOCAL_FDO_SUPPORT': 'true', 164 'LOCAL_FDO_SUPPORT': 'true',
173 }, 165 },
174 }], 166 }],
175 ['sqlite_enable_fts2', {
176 'defines': [
177 'SQLITE_ENABLE_BROKEN_FTS2',
178 'SQLITE_ENABLE_FTS2',
179 ],
180 'sources': [
181 # fts2.c currently has a lot of conflicts when added to
182 # the amalgamation. It is probably not worth fixing that.
183 'src/ext/fts2/fts2.c',
184 'src/ext/fts2/fts2.h',
185 'src/ext/fts2/fts2_hash.c',
186 'src/ext/fts2/fts2_hash.h',
187 'src/ext/fts2/fts2_icu.c',
188 'src/ext/fts2/fts2_porter.c',
189 'src/ext/fts2/fts2_tokenizer.c',
190 'src/ext/fts2/fts2_tokenizer.h',
191 'src/ext/fts2/fts2_tokenizer1.c',
192 ],
193 'include_dirs': [
194 'src/src',
195 ],
196 }],
197 ], 167 ],
198 }], 168 }],
199 ], 169 ],
200 'includes': [ 170 'includes': [
201 # Disable LTO due to ELF section name out of range 171 # Disable LTO due to ELF section name out of range
202 # crbug.com/422251 172 # crbug.com/422251
203 '../../build/android/disable_lto.gypi', 173 '../../build/android/disable_lto.gypi',
204 ], 174 ],
205 }, 175 },
206 ], 176 ],
(...skipping 26 matching lines...) Expand all
233 '../icu/icu.gyp:icuuc', 203 '../icu/icu.gyp:icuuc',
234 ], 204 ],
235 'sources': [ 205 'sources': [
236 'src/ext/icu/icu.c', 206 'src/ext/icu/icu.c',
237 ], 207 ],
238 }, 208 },
239 ], 209 ],
240 }], 210 }],
241 ], 211 ],
242 } 212 }
OLDNEW
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698