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 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../build/common.gypi', | 10 '../../build/common.gypi', |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 'sources/': [['exclude', '_unix\\.cc?$']], | 187 'sources/': [['exclude', '_unix\\.cc?$']], |
188 }, { # else: OS!="win" | 188 }, { # else: OS!="win" |
189 'sources/': [['exclude', '_(w32|win)\\.cc?$']], | 189 'sources/': [['exclude', '_(w32|win)\\.cc?$']], |
190 }], | 190 }], |
191 ], | 191 ], |
192 }], | 192 }], |
193 ], | 193 ], |
194 }, | 194 }, |
195 ], | 195 ], |
196 'conditions': [ | 196 'conditions': [ |
197 ['OS=="linux"', { | 197 ['OS=="linux" and not use_system_sqlite', { |
198 'targets': [ | 198 'targets': [ |
199 { | 199 { |
200 'target_name': 'sqlite_shell', | 200 'target_name': 'sqlite_shell', |
201 'type': 'executable', | 201 'type': 'executable', |
202 'dependencies': [ | 202 'dependencies': [ |
203 '../icu38/icu38.gyp:icuuc', | 203 '../icu38/icu38.gyp:icuuc', |
204 'sqlite', | 204 'sqlite', |
205 ], | 205 ], |
206 'sources': [ | 206 'sources': [ |
207 'src/shell.c', | 207 'src/shell.c', |
208 'src/shell_icu_linux.c', | 208 'src/shell_icu_linux.c', |
209 ], | 209 ], |
210 'link_settings': { | 210 'link_settings': { |
211 'link_languages': ['c++'], | 211 'link_languages': ['c++'], |
212 'libraries': [ | 212 'libraries': [ |
213 '-ldl', | 213 '-ldl', |
214 ], | 214 ], |
215 }, | 215 }, |
216 }, | 216 }, |
217 ], | 217 ], |
218 },] | 218 },] |
219 ], | 219 ], |
220 } | 220 } |
OLD | NEW |