BUILD.gn 840 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 2022 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/chromeos/ui_mode.gni")
  5. assert(is_chromeos_ash,
  6. "Quick Pair protocols (e.g. Fast Pair) are ash-chrome only")
  7. source_set("companion_app") {
  8. output_name = "quick_pair_companion_app"
  9. sources = [
  10. "companion_app_parser.cc",
  11. "companion_app_parser.h",
  12. ]
  13. deps = [
  14. "//ash/quick_pair/common",
  15. "//ash/quick_pair/repository",
  16. "//base",
  17. ]
  18. }
  19. source_set("unit_tests") {
  20. testonly = true
  21. sources = [ "companion_app_parser_unittest.cc" ]
  22. deps = [
  23. ":companion_app",
  24. "//ash/quick_pair/common",
  25. "//ash/quick_pair/repository:test_support",
  26. "//base",
  27. "//base/test:test_support",
  28. "//testing/gtest",
  29. ]
  30. }