# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("storage") {
sources = [
"user_note_storage_impl.cc",
"user_note_storage_impl.h",
]
deps = [
":internal",
"//base",
"//components/user_notes/interfaces",
"//components/user_notes/model",
"//url",
]
}
static_library("internal") {
sources = [
"user_note_database.cc",
"user_note_database.h",
]
deps = [
"//base",
"//components/user_notes/interfaces",
"//components/user_notes/model:model",
"//sql",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "user_note_database_unittest.cc" ]
deps = [
":internal",
"//base",
"//components/user_notes/browser",
"//components/user_notes/model:unit_tests",
"//sql",
"//sql:test_support",
"//testing/gtest",
]
}