OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 10 'includes': [ |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'sources!': [ | 179 'sources!': [ |
180 'src/journal.c', | 180 'src/journal.c', |
181 'src/md5.c', | 181 'src/md5.c', |
182 'src/tclsqlite.c', | 182 'src/tclsqlite.c', |
183 ], | 183 ], |
184 'include_dirs': [ | 184 'include_dirs': [ |
185 'preprocessed', | 185 'preprocessed', |
186 'src', | 186 'src', |
187 ], | 187 ], |
188 'dependencies': [ | 188 'dependencies': [ |
189 '../icu38/icu38.gyp:icui18n', | 189 '../icu/icu.gyp:icui18n', |
190 '../icu38/icu38.gyp:icuuc', | 190 '../icu/icu.gyp:icuuc', |
191 ], | 191 ], |
192 'direct_dependent_settings': { | 192 'direct_dependent_settings': { |
193 'include_dirs': [ | 193 'include_dirs': [ |
194 'preprocessed', | 194 'preprocessed', |
195 ], | 195 ], |
196 }, | 196 }, |
197 'msvs_disabled_warnings': [ | 197 'msvs_disabled_warnings': [ |
198 4018, 4244, | 198 4018, 4244, |
199 ], | 199 ], |
200 'conditions': [ | 200 'conditions': [ |
201 ['OS=="win"', { | 201 ['OS=="win"', { |
202 'sources/': [['exclude', '_unix\\.cc?$']], | 202 'sources/': [['exclude', '_unix\\.cc?$']], |
203 }, { # else: OS!="win" | 203 }, { # else: OS!="win" |
204 'sources/': [['exclude', '_(w32|win)\\.cc?$']], | 204 'sources/': [['exclude', '_(w32|win)\\.cc?$']], |
205 }], | 205 }], |
206 ], | 206 ], |
207 }], | 207 }], |
208 ], | 208 ], |
209 }, | 209 }, |
210 ], | 210 ], |
211 'conditions': [ | 211 'conditions': [ |
212 ['OS=="linux" and not use_system_sqlite', { | 212 ['OS=="linux" and not use_system_sqlite', { |
213 'targets': [ | 213 'targets': [ |
214 { | 214 { |
215 'target_name': 'sqlite_shell', | 215 'target_name': 'sqlite_shell', |
216 'type': 'executable', | 216 'type': 'executable', |
217 'dependencies': [ | 217 'dependencies': [ |
218 '../icu38/icu38.gyp:icuuc', | 218 '../icu/icu.gyp:icuuc', |
219 'sqlite', | 219 'sqlite', |
220 ], | 220 ], |
221 'sources': [ | 221 'sources': [ |
222 'src/shell.c', | 222 'src/shell.c', |
223 'src/shell_icu_linux.c', | 223 'src/shell_icu_linux.c', |
224 ], | 224 ], |
225 'link_settings': { | 225 'link_settings': { |
226 'link_languages': ['c++'], | 226 'link_languages': ['c++'], |
227 'libraries': [ | 227 'libraries': [ |
228 '-ldl', | 228 '-ldl', |
229 ], | 229 ], |
230 }, | 230 }, |
231 }, | 231 }, |
232 ], | 232 ], |
233 },] | 233 },] |
234 ], | 234 ], |
235 } | 235 } |
OLD | NEW |