BUILD.gn 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Copyright 2017 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/chrome_build.gni")
  5. import("//build/config/ios/rules.gni")
  6. import("//remoting/build/config/remoting_build.gni")
  7. source_set("facade") {
  8. sources = [
  9. "host_list_service.h",
  10. "host_list_service.mm",
  11. "ios_client_runtime_delegate.h",
  12. "ios_client_runtime_delegate.mm",
  13. "ios_oauth_token_getter.h",
  14. "ios_oauth_token_getter.mm",
  15. "remoting_authentication.h",
  16. "remoting_oauth_authentication.h",
  17. "remoting_oauth_authentication.mm",
  18. "remoting_service.h",
  19. "remoting_service.mm",
  20. ]
  21. deps = [
  22. "//base",
  23. "//ios/third_party/material_components_ios",
  24. "//remoting/base:authorization",
  25. "//remoting/client",
  26. "//remoting/ios/domain",
  27. "//remoting/ios/persistence",
  28. "//remoting/resources",
  29. "//remoting/signaling",
  30. "//services/network/public/cpp",
  31. "//ui/base",
  32. ]
  33. frameworks = [ "CoreFoundation.framework" ]
  34. public_deps = [
  35. "//remoting/base",
  36. "//remoting/proto/remoting/v1:directory_proto",
  37. ]
  38. configs += [ "//build/config/compiler:enable_arc" ]
  39. }
  40. source_set("unit_tests") {
  41. testonly = true
  42. sources = [ "host_list_service_unittest.mm" ]
  43. deps = [
  44. ":facade",
  45. "//base/test:test_support",
  46. "//remoting/base:test_support",
  47. "//services/network/public/cpp",
  48. "//testing/gmock",
  49. "//testing/gtest",
  50. "//third_party/ocmock",
  51. "//ui/base",
  52. "//ui/display",
  53. ]
  54. configs += [ "//build/config/compiler:enable_arc" ]
  55. }