| # Copyright 2021 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chromeos/ui_mode.gni") |
| |
| assert(is_chromeos_ash, |
| "Quick Pair protocols (e.g. Fast Pair) are ash-chrome only") |
| |
| source_set("quick_pair") { |
| deps = [ |
| "//ash/quick_pair/common", |
| "//ash/quick_pair/companion_app", |
| "//ash/quick_pair/fast_pair_handshake", |
| "//ash/quick_pair/feature_status_tracker", |
| "//ash/quick_pair/keyed_service", |
| "//ash/quick_pair/message_stream", |
| "//ash/quick_pair/repository", |
| "//ash/quick_pair/scanning", |
| "//ash/quick_pair/ui", |
| "//components/cross_device/logging:logging", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| deps = [ |
| "//ash/quick_pair/common:unit_tests", |
| "//ash/quick_pair/companion_app:unit_tests", |
| "//ash/quick_pair/fast_pair_handshake:unit_tests", |
| "//ash/quick_pair/feature_status_tracker:unit_tests", |
| "//ash/quick_pair/keyed_service:unit_tests", |
| "//ash/quick_pair/message_stream:unit_tests", |
| "//ash/quick_pair/pairing:unit_tests", |
| "//ash/quick_pair/repository:unit_tests", |
| "//ash/quick_pair/scanning:unit_tests", |
| "//ash/quick_pair/ui:unit_tests", |
| ] |
| } |