You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.5 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
  2. #
  3. # Use of this source code is governed by a BSD-style license
  4. # that can be found in the LICENSE file in the root of the source
  5. # tree. An additional intellectual property rights grant can be found
  6. # in the file PATENTS. All contributing project authors may
  7. # be found in the AUTHORS file in the root of the source tree.
  8. import("../../webrtc.gni")
  9. rtc_library("utility") {
  10. visibility = [ "*" ]
  11. sources = [
  12. "include/helpers_android.h",
  13. "include/jvm_android.h",
  14. "include/process_thread.h",
  15. "source/helpers_android.cc",
  16. "source/jvm_android.cc",
  17. "source/process_thread_impl.cc",
  18. "source/process_thread_impl.h",
  19. ]
  20. if (is_ios) {
  21. libs = [ "AVFoundation.framework" ]
  22. }
  23. deps = [
  24. "..:module_api",
  25. "../../api/task_queue",
  26. "../../common_audio",
  27. "../../rtc_base:checks",
  28. "../../rtc_base:rtc_base_approved",
  29. "../../rtc_base/system:arch",
  30. "../../system_wrappers",
  31. ]
  32. }
  33. rtc_library("mock_process_thread") {
  34. testonly = true
  35. visibility = [ "*" ]
  36. sources = [
  37. "include/mock/mock_process_thread.h",
  38. ]
  39. deps = [
  40. ":utility",
  41. "../../rtc_base:rtc_base_approved",
  42. "../../test:test_support",
  43. ]
  44. }
  45. if (rtc_include_tests) {
  46. rtc_library("utility_unittests") {
  47. testonly = true
  48. sources = [
  49. "source/process_thread_impl_unittest.cc",
  50. ]
  51. deps = [
  52. ":utility",
  53. "..:module_api",
  54. "../../api/task_queue",
  55. "../../rtc_base:rtc_base_approved",
  56. "../../test:test_support",
  57. ]
  58. }
  59. }