sqlite3_shim.c 756 B

12345678910111213141516
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // This is a shim that injects Chrome-specific definitions into sqlite3.c
  5. // BUILD.gn uses this instead of building the sqlite3 amalgamation directly.
  6. // We prefix chrome_ to SQLite's exported symbols, so that we don't clash with
  7. // other SQLite libraries loaded by the system libraries. This only matters when
  8. // using the component build, where our SQLite's symbols are visible to the
  9. // dynamic library loader.
  10. #include "third_party/sqlite/src/amalgamation/rename_exports.h"
  11. #include "third_party/sqlite/sqlite3_shim_fixups.h"
  12. #include "third_party/sqlite/src/amalgamation/sqlite3.c"