naiveproxy/third_party/WebKit/Source/modules/webdatabase/BUILD.gn
2018-02-02 05:49:39 -05:00

89 lines
2.5 KiB
Plaintext

# Copyright 2016 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.
import("//third_party/WebKit/Source/modules/modules.gni")
blink_modules_sources("webdatabase") {
sources = [
"ChangeVersionData.h",
"ChangeVersionWrapper.cpp",
"ChangeVersionWrapper.h",
"DOMWindowWebDatabase.cpp",
"DOMWindowWebDatabase.h",
"Database.cpp",
"Database.h",
"DatabaseAuthorizer.cpp",
"DatabaseAuthorizer.h",
"DatabaseBasicTypes.h",
"DatabaseClient.cpp",
"DatabaseClient.h",
"DatabaseContext.cpp",
"DatabaseContext.h",
"DatabaseError.h",
"DatabaseManager.cpp",
"DatabaseManager.h",
"DatabaseTask.cpp",
"DatabaseTask.h",
"DatabaseThread.cpp",
"DatabaseThread.h",
"DatabaseTracker.cpp",
"DatabaseTracker.h",
"InspectorDatabaseAgent.cpp",
"InspectorDatabaseAgent.h",
"InspectorDatabaseResource.cpp",
"InspectorDatabaseResource.h",
"QuotaTracker.cpp",
"QuotaTracker.h",
"SQLError.cpp",
"SQLError.h",
"SQLResultSet.cpp",
"SQLResultSet.h",
"SQLResultSetRowList.cpp",
"SQLResultSetRowList.h",
"SQLStatement.cpp",
"SQLStatement.h",
"SQLStatementBackend.cpp",
"SQLStatementBackend.h",
"SQLStatementCallback.h",
"SQLStatementErrorCallback.h",
"SQLTransaction.cpp",
"SQLTransaction.h",
"SQLTransactionBackend.cpp",
"SQLTransactionBackend.h",
"SQLTransactionCallback.h",
"SQLTransactionClient.cpp",
"SQLTransactionClient.h",
"SQLTransactionCoordinator.cpp",
"SQLTransactionCoordinator.h",
"SQLTransactionErrorCallback.h",
"SQLTransactionState.h",
"SQLTransactionStateMachine.cpp",
"SQLTransactionStateMachine.h",
"StorageLog.h",
"WebDatabaseImpl.cpp",
"WebDatabaseImpl.h",
"sqlite/SQLLog.h",
"sqlite/SQLValue.cpp",
"sqlite/SQLValue.h",
"sqlite/SQLiteAuthorizer.cpp",
"sqlite/SQLiteDatabase.cpp",
"sqlite/SQLiteDatabase.h",
"sqlite/SQLiteFileSystem.cpp",
"sqlite/SQLiteFileSystem.h",
"sqlite/SQLiteStatement.cpp",
"sqlite/SQLiteStatement.h",
"sqlite/SQLiteTransaction.cpp",
"sqlite/SQLiteTransaction.h",
]
if (is_win) {
sources += [ "sqlite/SQLiteFileSystemWin.cpp" ]
} else if (is_posix) {
sources += [ "sqlite/SQLiteFileSystemPosix.cpp" ]
}
# Expose chromium_sqlite3_* functions from Chromium's patched SQLite.
defines = [ "CHROMIUM_SQLITE_INTERNALS" ] # So that sqlite3.h is not included without this set.
}