summaryrefslogtreecommitdiffstats
path: root/chromium/components/speech/BUILD.gn
blob: 2be482807110fbca3d8a246bc61744e51a7febc3 (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
# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("speech") {
  sources = [
    "audio_buffer.cc",
    "audio_buffer.h",
    "audio_encoder.cc",
    "audio_encoder.h",
    "chunked_byte_buffer.cc",
    "chunked_byte_buffer.h",
    "downstream_loader.cc",
    "downstream_loader.h",
    "downstream_loader_client.h",
    "upstream_loader.cc",
    "upstream_loader.h",
    "upstream_loader_client.h",
  ]

  public_deps = [ "//base" ]
  deps = [
    "//mojo/public/cpp/bindings",
    "//mojo/public/cpp/platform",
    "//mojo/public/cpp/system",
    "//services/network/public/cpp",
    "//services/network/public/mojom",
    "//third_party/flac",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "chunked_byte_buffer_unittest.cc" ]
  deps = [
    ":speech",
    "//testing/gtest",
  ]
}