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 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6 # for details. All rights reserved. Use of this source code is governed by a | 6 # for details. All rights reserved. Use of this source code is governed by a |
7 # BSD-style license that can be found in the LICENSE file. | 7 # BSD-style license that can be found in the LICENSE file. |
8 | 8 |
9 # This file is a modified copy of Chromium's src/third_party/sqlite/sqlite.gyp. | 9 # This file is a modified copy of Chromium's src/third_party/sqlite/sqlite.gyp. |
10 # Revision 199075 (this should agree with "nss_rev" in DEPS). | 10 # Revision 199075 (this should agree with "nss_rev" in DEPS). |
(...skipping 21 matching lines...) Expand all Loading... |
32 'SQLITE_SECURE_DELETE', | 32 'SQLITE_SECURE_DELETE', |
33 'THREADSAFE', | 33 'THREADSAFE', |
34 '_HAS_EXCEPTIONS=0', | 34 '_HAS_EXCEPTIONS=0', |
35 ], | 35 ], |
36 }, | 36 }, |
37 # Added by Dart. We do not indent, so diffs with the original are clearer. | 37 # Added by Dart. We do not indent, so diffs with the original are clearer. |
38 'conditions': [[ 'dart_io_support==1', { | 38 'conditions': [[ 'dart_io_support==1', { |
39 'targets': [ | 39 'targets': [ |
40 { | 40 { |
41 'target_name': 'sqlite_dart', # Added by Dart (the _dart postfix) | 41 'target_name': 'sqlite_dart', # Added by Dart (the _dart postfix) |
| 42 'toolsets':['host','target'], |
42 'conditions': [ | 43 'conditions': [ |
43 [ 'chromeos==1' , { | 44 [ 'chromeos==1' , { |
44 'defines': [ | 45 'defines': [ |
45 # Despite obvious warnings about not using this flag | 46 # Despite obvious warnings about not using this flag |
46 # in deployment, we are turning off sync in ChromeOS | 47 # in deployment, we are turning off sync in ChromeOS |
47 # and relying on the underlying journaling filesystem | 48 # and relying on the underlying journaling filesystem |
48 # to do error recovery properly. It's much faster. | 49 # to do error recovery properly. It's much faster. |
49 'SQLITE_NO_SYNC', | 50 'SQLITE_NO_SYNC', |
50 ], | 51 ], |
51 }, | 52 }, |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ], | 198 ], |
198 'link_settings': { | 199 'link_settings': { |
199 'link_languages': ['c++'], | 200 'link_languages': ['c++'], |
200 }, | 201 }, |
201 }, | 202 }, |
202 ], | 203 ], |
203 },] | 204 },] |
204 ], | 205 ], |
205 }]], | 206 }]], |
206 } | 207 } |
OLD | NEW |