1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
# Copyright 2016 The Chromium Authors
# 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("indexeddb") {
sources = [
"global_indexed_db.cc",
"global_indexed_db.h",
"idb_any.cc",
"idb_any.h",
"idb_cursor.cc",
"idb_cursor.h",
"idb_cursor_with_value.cc",
"idb_cursor_with_value.h",
"idb_database.cc",
"idb_database.h",
"idb_database_error.h",
"idb_event_dispatcher.cc",
"idb_event_dispatcher.h",
"idb_factory.cc",
"idb_factory.h",
"idb_factory_client.cc",
"idb_factory_client.h",
"idb_get_all_options_helper.cc",
"idb_get_all_options_helper.h",
"idb_index.cc",
"idb_index.h",
"idb_key.cc",
"idb_key.h",
"idb_key_path.cc",
"idb_key_path.h",
"idb_key_range.cc",
"idb_key_range.h",
"idb_metadata.cc",
"idb_metadata.h",
"idb_object_store.cc",
"idb_object_store.h",
"idb_open_db_request.cc",
"idb_open_db_request.h",
"idb_record.cc",
"idb_record.h",
"idb_record_array.cc",
"idb_record_array.h",
"idb_request.cc",
"idb_request.h",
"idb_request_loader.cc",
"idb_request_loader.h",
"idb_request_queue_item.cc",
"idb_request_queue_item.h",
"idb_transaction.cc",
"idb_transaction.h",
"idb_value.cc",
"idb_value.h",
"idb_value_wrapping.cc",
"idb_value_wrapping.h",
"idb_version_change_event.cc",
"idb_version_change_event.h",
"indexed_db.h",
"indexed_db_blink_mojom_traits.cc",
"indexed_db_blink_mojom_traits.h",
"inspector_indexed_db_agent.cc",
"inspector_indexed_db_agent.h",
]
public_deps = [
"//third_party/blink/public/mojom:mojom_modules_blink",
"//third_party/snappy",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"idb_cursor_unittest.cc",
"idb_key_path_test.cc",
"idb_request_test.cc",
"idb_test_helper.cc",
"idb_transaction_test.cc",
"idb_value_wrapping_test.cc",
"indexed_db_blink_mojom_traits_test.cc",
"mock_idb_database.cc",
"mock_idb_database.h",
"mock_idb_transaction.cc",
"mock_idb_transaction.h",
]
configs += [
"//third_party/blink/renderer:config",
"//third_party/blink/renderer:inside_blink",
"//third_party/blink/renderer/core:blink_core_pch",
]
deps = [
"//testing/gmock",
"//testing/gtest",
"//third_party/blink/public:test_headers",
"//third_party/blink/renderer/controller:blink_bindings_test_sources",
"//third_party/blink/renderer/core:testing",
"//third_party/blink/renderer/modules:modules",
"//third_party/blink/renderer/platform:test_support",
]
}
|