xref: /aosp_15_r20/external/webrtc/modules/async_audio_processing/BUILD.gn (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1# Copyright (c) 2020 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
9import("../../webrtc.gni")
10
11rtc_library("async_audio_processing") {
12  sources = [
13    "async_audio_processing.cc",
14    "async_audio_processing.h",
15  ]
16
17  public = [ "async_audio_processing.h" ]
18
19  deps = [
20    "../../api:scoped_refptr",
21    "../../api:sequence_checker",
22    "../../api/audio:audio_frame_api",
23    "../../api/audio:audio_frame_processor",
24    "../../api/task_queue:task_queue",
25    "../../rtc_base:checks",
26    "../../rtc_base:refcount",
27    "../../rtc_base:rtc_task_queue",
28  ]
29}
30
31if (rtc_include_tests) {
32  rtc_library("async_audio_processing_test") {
33    testonly = true
34
35    sources = []
36
37    deps = [
38      ":async_audio_processing",
39      "../../api/audio:audio_frame_api",
40      "../../rtc_base:checks",
41    ]
42  }
43}
44