| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 }, | 132 }, |
| 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.00.c', |
| 143 ], | 143 ], |
| 144 'variables': { | 144 'variables': { |
| 145 'clang_warning_flags': [ | 145 'clang_warning_flags': [ |
| 146 # sqlite contains a few functions that are unused, at least on | 146 # sqlite contains a few functions that are unused, at least on |
| 147 # Windows with Chromium's sqlite patches applied | 147 # Windows with Chromium's sqlite patches applied |
| 148 # (interiorCursorEOF fts3EvalDeferredPhrase | 148 # (interiorCursorEOF fts3EvalDeferredPhrase |
| 149 # fts3EvalSelectDeferred sqlite3Fts3InitHashTable | 149 # fts3EvalSelectDeferred sqlite3Fts3InitHashTable |
| 150 # sqlite3Fts3InitTok). | 150 # sqlite3Fts3InitTok). |
| 151 '-Wno-unused-function', | 151 '-Wno-unused-function', |
| 152 ], | 152 ], |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 'clang_warning_flags_unset': [ | 257 'clang_warning_flags_unset': [ |
| 258 # icu.c uses assert(!"foo") instead of assert(false && "foo") | 258 # icu.c uses assert(!"foo") instead of assert(false && "foo") |
| 259 '-Wstring-conversion', | 259 '-Wstring-conversion', |
| 260 ], | 260 ], |
| 261 }, | 261 }, |
| 262 }, | 262 }, |
| 263 ], | 263 ], |
| 264 }], | 264 }], |
| 265 ], | 265 ], |
| 266 } | 266 } |
| OLD | NEW |