summaryrefslogtreecommitdiffstats
path: root/third_party/speech-dispatcher/BUILD.gn
blob: fce246e3b33927e2848d8aee56f09b1cfa98b41b (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
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//tools/generate_library_loader/generate_library_loader.gni")

generate_library_loader("speech-dispatcher") {
  name = "LibSpeechdLoader"
  output_h = "libspeechd.h"
  output_cc = "libspeechd.cc"
  header = "<libspeechd.h>"
  bundled_header = "\"third_party/speech-dispatcher/libspeechd.h\""

  functions = [
    "spd_open",
    "spd_say",
    "spd_stop",
    "spd_close",
    "spd_pause",
    "spd_resume",
    "spd_set_notification_on",
    "spd_set_voice_rate",
    "spd_set_voice_pitch",
    "spd_list_synthesis_voices",
    "spd_set_synthesis_voice",
    "spd_list_modules",
    "spd_set_output_module",
    "spd_set_language",
  ]
}