| # Copyright 2026 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("internal") { |
| visibility = [ |
| ":*", |
| "//chrome/browser/skills", |
| "//components/skills/content", |
| ] |
| |
| sources = [ |
| "skills_service_impl.cc", |
| "skills_service_impl.h", |
| "skills_sync_bridge.cc", |
| "skills_sync_bridge.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//components/skills/public", |
| ] |
| |
| deps = [ |
| "//components/skills/proto", |
| "//components/sync/model", |
| "//components/sync/protocol", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ |
| "skills_service_impl_unittest.cc", |
| "skills_sync_bridge_unittest.cc", |
| ] |
| |
| deps = [ |
| ":internal", |
| "//base", |
| "//base/test:test_support", |
| "//components/skills/public", |
| "//components/sync:test_support", |
| "//components/sync/base", |
| "//components/sync/model", |
| "//components/sync/protocol", |
| "//testing/gtest", |
| ] |
| |
| visibility = [ "//components/skills:unit_tests" ] |
| } |