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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 }], | 154 }], |
155 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 155 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
156 'cflags': [ | 156 'cflags': [ |
157 # SQLite doesn't believe in compiler warnings, | 157 # SQLite doesn't believe in compiler warnings, |
158 # preferring testing. | 158 # preferring testing. |
159 # http://www.sqlite.org/faq.html#q17 | 159 # http://www.sqlite.org/faq.html#q17 |
160 '-Wno-int-to-pointer-cast', | 160 '-Wno-int-to-pointer-cast', |
161 '-Wno-pointer-to-int-cast', | 161 '-Wno-pointer-to-int-cast', |
162 ], | 162 ], |
163 }], | 163 }], |
| 164 # Enable feedback-directed optimisation for sqlite when building in
android. |
| 165 ['android_webview_build == 1', { |
| 166 'aosp_build_settings': { |
| 167 'LOCAL_FDO_SUPPORT': 'true', |
| 168 }, |
| 169 }], |
164 ], | 170 ], |
165 }], | 171 }], |
166 ], | 172 ], |
167 }, | 173 }, |
168 ], | 174 ], |
169 'conditions': [ | 175 'conditions': [ |
170 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android" and not
use_system_sqlite', { | 176 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android" and not
use_system_sqlite', { |
171 'targets': [ | 177 'targets': [ |
172 { | 178 { |
173 'target_name': 'sqlite_shell', | 179 'target_name': 'sqlite_shell', |
(...skipping 21 matching lines...) Expand all Loading... |
195 '../icu/icu.gyp:icuuc', | 201 '../icu/icu.gyp:icuuc', |
196 ], | 202 ], |
197 'sources': [ | 203 'sources': [ |
198 'src/ext/icu/icu.c', | 204 'src/ext/icu/icu.c', |
199 ], | 205 ], |
200 }, | 206 }, |
201 ], | 207 ], |
202 }], | 208 }], |
203 ], | 209 ], |
204 } | 210 } |
OLD | NEW |