BUILD.gn 878 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 2018 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/features.gni")
  5. source_set("bluetooth_system") {
  6. visibility = [
  7. ":bluetooth_system_tests",
  8. "//services/device:lib",
  9. ]
  10. sources = [
  11. "bluetooth_system.cc",
  12. "bluetooth_system.h",
  13. "bluetooth_system_factory.cc",
  14. "bluetooth_system_factory.h",
  15. ]
  16. public_deps = [ "//services/device/public/mojom" ]
  17. deps = [
  18. "//base",
  19. "//dbus",
  20. "//device/bluetooth",
  21. ]
  22. }
  23. source_set("bluetooth_system_tests") {
  24. testonly = true
  25. sources = [ "bluetooth_system_unittest.cc" ]
  26. deps = [
  27. ":bluetooth_system",
  28. "//base/test:test_support",
  29. "//dbus",
  30. "//device/bluetooth",
  31. "//net",
  32. "//services/device:test_support",
  33. "//testing/gtest",
  34. ]
  35. }