# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'use_system_sqlite%': 0, }, 'includes': [ '../../build/common.gypi', ], 'target_defaults': { 'defines': [ 'SQLITE_ENABLE_FTS2', 'SQLITE_ENABLE_BROKEN_FTS2', 'SQLITE_ENABLE_ICU', 'SQLITE_SECURE_DELETE', 'THREADSAFE', '_HAS_EXCEPTIONS=0', ], }, 'targets': [ { 'target_name': 'sqlite', 'conditions': [ ['OS=="linux" and use_system_sqlite', { 'type': 'settings', 'direct_dependent_settings': { 'cflags': [ '