summaryrefslogtreecommitdiff
path: root/webrtc/api/meson.build
blob: 1d26709f81691a9a95a38a2df13a8dce6ff142c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
api_sources = [
  'audio/audio_frame.cc',
  'audio/channel_layout.cc',
  'audio/echo_canceller3_config.cc',
  'audio_codecs/audio_decoder.cc',
  'audio_codecs/audio_encoder.cc',
  'rtp_headers.cc',
  'rtp_packet_info.cc',
  'task_queue/task_queue_base.cc',
  'units/data_rate.cc',
  'units/data_size.cc',
  'units/frequency.cc',
  'units/time_delta.cc',
  'units/timestamp.cc',
  'video/color_space.cc',
  'video/hdr_metadata.cc',
  'video/video_content_type.cc',
  'video/video_timing.cc',
]

api_headers = [
  ['', 'array_view.h'],
  ['', 'scoped_refptr.h'],
  ['audio', 'echo_canceller3_config.h'],
  ['audio', 'echo_control.h'],
]

foreach h : api_headers
  install_headers(
    join_paths(h[0], h[1]),
    subdir: join_paths('webrtc_audio_processing', 'api', h[0])
  )
endforeach


libapi = static_library('libapi',
    api_sources,
    dependencies: common_deps,
    include_directories: webrtc_inc,
    cpp_args : common_cxxflags
)

api_dep = declare_dependency(
    link_with: libapi
)