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': { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 }], | 133 }], |
134 ], | 134 ], |
135 }, { # !use_system_sqlite | 135 }, { # !use_system_sqlite |
136 # "sqlite3" can cause conflicts with the system library. | 136 # "sqlite3" can cause conflicts with the system library. |
137 'product_name': 'chromium_sqlite3', | 137 'product_name': 'chromium_sqlite3', |
138 'type': '<(component)', | 138 'type': '<(component)', |
139 'sources': [ | 139 'sources': [ |
140 'amalgamation/config.h', | 140 'amalgamation/config.h', |
141 'amalgamation/sqlite3.h', | 141 'amalgamation/sqlite3.h', |
142 'amalgamation/sqlite3.c', | 142 'amalgamation/sqlite3.c', |
| 143 'src/src/recover_varint.c', |
| 144 'src/src/recover.c', |
| 145 'src/src/recover.h', |
143 ], | 146 ], |
144 'variables': { | 147 'variables': { |
145 'clang_warning_flags': [ | 148 'clang_warning_flags': [ |
146 # sqlite contains a few functions that are unused, at least on | 149 # sqlite contains a few functions that are unused, at least on |
147 # Windows with Chromium's sqlite patches applied | 150 # Windows with Chromium's sqlite patches applied |
148 # (interiorCursorEOF fts3EvalDeferredPhrase | 151 # (interiorCursorEOF fts3EvalDeferredPhrase |
149 # fts3EvalSelectDeferred sqlite3Fts3InitHashTable | 152 # fts3EvalSelectDeferred sqlite3Fts3InitHashTable |
150 # sqlite3Fts3InitTok). | 153 # sqlite3Fts3InitTok). |
151 '-Wno-unused-function', | 154 '-Wno-unused-function', |
152 ], | 155 ], |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 'clang_warning_flags_unset': [ | 260 'clang_warning_flags_unset': [ |
258 # icu.c uses assert(!"foo") instead of assert(false && "foo") | 261 # icu.c uses assert(!"foo") instead of assert(false && "foo") |
259 '-Wstring-conversion', | 262 '-Wstring-conversion', |
260 ], | 263 ], |
261 }, | 264 }, |
262 }, | 265 }, |
263 ], | 266 ], |
264 }], | 267 }], |
265 ], | 268 ], |
266 } | 269 } |
OLD | NEW |