summaryrefslogtreecommitdiff
path: root/chromium/third_party/sqlite/dev/sqlite3_shim.c
blob: e57c6f9931e3d78e506373eec3e0a00955da363a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2020 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.

// This is a shim that injects Chrome-specific definitions into sqlite3.c
// BUILD.gn uses this instead of building the sqlite3 amalgamation directly.

// We prefix chrome_ to SQLite's exported symbols, so that we don't clash with
// other SQLite libraries loaded by the system libraries. This only matters when
// using the component build, where our SQLite's symbols are visible to the
// dynamic library loader.
#include "third_party/sqlite/src/amalgamation_dev/rename_exports.h"

#include "third_party/sqlite/sqlite3_shim_fixups.h"

#include "third_party/sqlite/src/amalgamation_dev/sqlite3.c"