| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 }, | 110 }, |
| 111 }], | 111 }], |
| 112 ], | 112 ], |
| 113 }, { # !use_system_sqlite | 113 }, { # !use_system_sqlite |
| 114 'product_name': 'sqlite3', | 114 'product_name': 'sqlite3', |
| 115 'type': 'static_library', | 115 'type': 'static_library', |
| 116 'sources': [ | 116 'sources': [ |
| 117 'amalgamation/sqlite3.h', | 117 'amalgamation/sqlite3.h', |
| 118 'amalgamation/sqlite3.c', | 118 'amalgamation/sqlite3.c', |
| 119 ], | 119 ], |
| 120 'variables': { |
| 121 'clang_warning_flags': [ |
| 122 # sqlite contains a few functions that are unused, at least on |
| 123 # Windows with Chromium's sqlite patches applied |
| 124 # (interiorCursorEOF fts3EvalDeferredPhrase |
| 125 # fts3EvalSelectDeferred sqlite3Fts3InitHashTable |
| 126 # sqlite3Fts3InitTok). |
| 127 '-Wno-unused-function', |
| 128 ], |
| 129 }, |
| 120 'include_dirs': [ | 130 'include_dirs': [ |
| 121 'amalgamation', | 131 'amalgamation', |
| 122 ], | 132 ], |
| 123 'dependencies': [ | 133 'dependencies': [ |
| 124 '../icu/icu.gyp:icui18n', | 134 '../icu/icu.gyp:icui18n', |
| 125 '../icu/icu.gyp:icuuc', | 135 '../icu/icu.gyp:icuuc', |
| 126 ], | 136 ], |
| 127 'direct_dependent_settings': { | 137 'direct_dependent_settings': { |
| 128 'include_dirs': [ | 138 'include_dirs': [ |
| 129 '.', | 139 '.', |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 'SQLITE_CORE', | 219 'SQLITE_CORE', |
| 210 ], | 220 ], |
| 211 'sources': [ | 221 'sources': [ |
| 212 'src/ext/icu/icu.c', | 222 'src/ext/icu/icu.c', |
| 213 ], | 223 ], |
| 214 }, | 224 }, |
| 215 ], | 225 ], |
| 216 }], | 226 }], |
| 217 ], | 227 ], |
| 218 } | 228 } |
| OLD | NEW |