OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//tools/generate_library_loader/generate_library_loader.gni") | 5 import("//tools/generate_library_loader/generate_library_loader.gni") |
6 | 6 |
7 generate_library_loader("speech-dispatcher") { | 7 generate_library_loader("speech-dispatcher") { |
8 name = "LibSpeechdLoader" | 8 name = "LibSpeechdLoader" |
9 output_h = "libspeechd.h" | 9 output_h = "libspeechd.h" |
10 output_cc = "libspeechd.cc" | 10 output_cc = "libspeechd.cc" |
11 header = "<libspeechd.h>" | 11 header = "<libspeechd.h>" |
12 bundled_header = "\"third_party/speech-dispatcher/libspeechd.h\"" | 12 bundled_header = "\"third_party/speech-dispatcher/libspeechd.h\"" |
13 | 13 |
14 functions = [ | 14 functions = [ |
15 "spd_open", | 15 "spd_open", |
16 "spd_say", | 16 "spd_say", |
17 "spd_stop", | 17 "spd_stop", |
18 "spd_close", | 18 "spd_close", |
19 "spd_pause", | 19 "spd_pause", |
20 "spd_resume", | 20 "spd_resume", |
21 "spd_set_notification_on", | 21 "spd_set_notification_on", |
22 "spd_set_voice_rate", | 22 "spd_set_voice_rate", |
23 "spd_set_voice_pitch", | 23 "spd_set_voice_pitch", |
24 "spd_list_synthesis_voices", | 24 "spd_list_synthesis_voices", |
25 "spd_set_synthesis_voice", | 25 "spd_set_synthesis_voice", |
26 "spd_list_modules", | 26 "spd_list_modules", |
27 "spd_set_output_module", | 27 "spd_set_output_module", |
| 28 "spd_set_language", |
28 ] | 29 ] |
29 } | 30 } |
OLD | NEW |