From 073bef8f4714605d58aa6335674d511df8689f0e Mon Sep 17 00:00:00 2001 From: "rohitrao@chromium.org" Date: Tue, 24 Jul 2012 18:03:47 +0000 Subject: GYP changes to get sql and sqlite building on iOS. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10696219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148136 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/sqlite/sqlite.gyp | 66 ++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 26 deletions(-) (limited to 'third_party/sqlite/sqlite.gyp') diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp index e129046..63aea03 100644 --- a/third_party/sqlite/sqlite.gyp +++ b/third_party/sqlite/sqlite.gyp @@ -34,42 +34,49 @@ ], }, ], - ['OS=="linux" and not use_system_sqlite', { - 'link_settings': { - 'libraries': [ - '-ldl', - ], - }, - }], ['OS == "android"', { 'defines': [ 'SQLITE_TEMP_STORE=3', ], }], - ['os_posix == 1 and OS != "mac" and use_system_sqlite', { + ['use_system_sqlite', { 'type': 'none', 'direct_dependent_settings': { - 'cflags': [ - # This next command produces no output but it it will fail (and - # cause GYP to fail) if we don't have a recent enough version of - # sqlite. - '