naiveproxy/third_party/blink/renderer/modules/webdatabase/BUILD.gn

94 lines
2.7 KiB
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# 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/blink/renderer/modules/modules.gni")
blink_modules_sources("webdatabase") {
sources = [
"change_version_data.h",
"change_version_wrapper.cc",
"change_version_wrapper.h",
"database.cc",
"database.h",
"database_authorizer.cc",
"database_authorizer.h",
"database_basic_types.h",
"database_client.cc",
"database_client.h",
"database_context.cc",
"database_context.h",
"database_error.h",
"database_manager.cc",
"database_manager.h",
"database_task.cc",
"database_task.h",
"database_thread.cc",
"database_thread.h",
"database_tracker.cc",
"database_tracker.h",
"dom_window_web_database.cc",
"dom_window_web_database.h",
"inspector_database_agent.cc",
"inspector_database_agent.h",
"inspector_database_resource.cc",
"inspector_database_resource.h",
"quota_tracker.cc",
"quota_tracker.h",
"sql_error.cc",
"sql_error.h",
"sql_result_set.cc",
"sql_result_set.h",
"sql_result_set_row_list.cc",
"sql_result_set_row_list.h",
"sql_statement.cc",
"sql_statement.h",
"sql_statement_backend.cc",
"sql_statement_backend.h",
"sql_statement_callback.h",
"sql_statement_error_callback.h",
"sql_transaction.cc",
"sql_transaction.h",
"sql_transaction_backend.cc",
"sql_transaction_backend.h",
"sql_transaction_callback.h",
"sql_transaction_client.cc",
"sql_transaction_client.h",
"sql_transaction_coordinator.cc",
"sql_transaction_coordinator.h",
"sql_transaction_error_callback.h",
"sql_transaction_state.h",
"sql_transaction_state_machine.cc",
"sql_transaction_state_machine.h",
"sqlite/sql_log.h",
"sqlite/sql_value.cc",
"sqlite/sql_value.h",
"sqlite/sqlite_authorizer.cc",
"sqlite/sqlite_database.cc",
"sqlite/sqlite_database.h",
"sqlite/sqlite_file_system.cc",
"sqlite/sqlite_file_system.h",
"sqlite/sqlite_statement.cc",
"sqlite/sqlite_statement.h",
"sqlite/sqlite_transaction.cc",
"sqlite/sqlite_transaction.h",
"storage_log.h",
"web_database_impl.cc",
"web_database_impl.h",
]
deps = [
"//sql",
"//third_party/sqlite",
]
if (is_win) {
sources += [ "sqlite/sqlite_file_system_win.cc" ]
} else if (is_posix || is_fuchsia) {
sources += [ "sqlite/sqlite_file_system_posix.cc" ]
}
# Expose chromium_sqlite3_* functions from Chromium's patched SQLite.
defines = [ "CHROMIUM_SQLITE_INTERNALS" ] # So that sqlite3.h is not included without this set.
}