Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1814)

Unified Diff: dart/runtime/bin/net/sqlite.gyp

Issue 72383004: Version 1.0.0.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/runtime/bin/net/nss.gyp ('k') | dart/runtime/bin/net/ssl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/bin/net/sqlite.gyp
===================================================================
--- dart/runtime/bin/net/sqlite.gyp (revision 30333)
+++ dart/runtime/bin/net/sqlite.gyp (working copy)
@@ -7,7 +7,7 @@
# BSD-style license that can be found in the LICENSE file.
# This file is a modified copy of Chromium's src/third_party/sqlite/sqlite.gyp.
-# Revision 199075 (this should agree with "nss_rev" in DEPS).
+# Revision 232552 (this should agree with "nss_rev" in DEPS).
{
# Added by Dart. All Dart comments refer to the following block or line.
'includes': [
@@ -30,6 +30,7 @@
# 'SQLITE_ENABLE_ICU',
'SQLITE_ENABLE_MEMORY_MANAGEMENT',
'SQLITE_SECURE_DELETE',
+ 'SQLITE_SEPARATE_CACHE_POOLS',
'THREADSAFE',
'_HAS_EXCEPTIONS=0',
],
@@ -61,6 +62,9 @@
'conditions': [
['OS == "ios"', {
+ 'dependencies': [
+ 'sqlite_regexp',
+ ],
'link_settings': {
'libraries': [
'$(SDKROOT)/usr/lib/libsqlite3.dylib',
@@ -143,6 +147,13 @@
],
},
}],
+ ['OS == "mac" or OS == "ios"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
+ ],
+ },
+ }],
['OS == "android"', {
'defines': [
'HAVE_USLEEP=1',
@@ -195,13 +206,27 @@
'sources': [
'<(sqlite_directory)/src/src/shell.c',
'<(sqlite_directory)/src/src/shell_icu_linux.c',
+ # Include a dummy c++ file to force linking of libstdc++.
+ '<(sqlite_directory)/build_as_cpp.cc',
],
- 'link_settings': {
- 'link_languages': ['c++'],
- },
},
],
- },]
+ },],
+ ['OS == "ios"', {
+ 'targets': [
+ {
+ 'target_name': 'sqlite_regexp',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../icu/icu.gyp:icui18n',
+ '../icu/icu.gyp:icuuc',
+ ],
+ 'sources': [
+ 'src/ext/icu/icu.c',
+ ],
+ },
+ ],
+ }],
],
}]],
}
« no previous file with comments | « dart/runtime/bin/net/nss.gyp ('k') | dart/runtime/bin/net/ssl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698