OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/sysroot.gni") | 7 import("//build/config/sysroot.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//tools/generate_library_loader/generate_library_loader.gni") | 9 import("//tools/generate_library_loader/generate_library_loader.gni") |
10 | 10 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 defines = [ "USE_BRLAPI" ] | 135 defines = [ "USE_BRLAPI" ] |
136 } | 136 } |
137 | 137 |
138 # TODO(GYP) linux_link_brlapi support. Is this needed? | 138 # TODO(GYP) linux_link_brlapi support. Is this needed? |
139 generate_library_loader("libbrlapi") { | 139 generate_library_loader("libbrlapi") { |
140 name = "LibBrlapiLoader" | 140 name = "LibBrlapiLoader" |
141 output_h = "libbrlapi.h" | 141 output_h = "libbrlapi.h" |
142 output_cc = "libbrlapi_loader.cc" | 142 output_cc = "libbrlapi_loader.cc" |
143 header = "<brlapi.h>" | 143 header = "<brlapi.h>" |
144 config = ":brlapi_config" | 144 config = ":brlapi_config" |
| 145 |
| 146 functions = [ |
| 147 "brlapi_getHandleSize", |
| 148 "brlapi_error_location", |
| 149 "brlapi_strerror", |
| 150 "brlapi__acceptKeys", |
| 151 "brlapi__openConnection", |
| 152 "brlapi__closeConnection", |
| 153 "brlapi__getDisplaySize", |
| 154 "brlapi__enterTtyModeWithPath", |
| 155 "brlapi__leaveTtyMode", |
| 156 "brlapi__writeDots", |
| 157 "brlapi__readKey", |
| 158 ] |
145 } | 159 } |
146 } | 160 } |
147 | 161 |
148 pkg_config("gio_config") { | 162 pkg_config("gio_config") { |
149 packages = [ "gio-2.0" ] | 163 packages = [ "gio-2.0" ] |
150 # glib >=2.40 deprecate g_settings_list_schemas in favor of | 164 # glib >=2.40 deprecate g_settings_list_schemas in favor of |
151 # g_settings_schema_source_list_schemas. This function is not available on | 165 # g_settings_schema_source_list_schemas. This function is not available on |
152 # earlier versions that we still need to support (specifically, 2.32), so | 166 # earlier versions that we still need to support (specifically, 2.32), so |
153 # disable the warning with the GLIB_DISABLE_DEPRECATION_WARNINGS define. | 167 # disable the warning with the GLIB_DISABLE_DEPRECATION_WARNINGS define. |
154 # TODO(mgiuca): Remove this suppression when we drop support for Ubuntu 13.10 | 168 # TODO(mgiuca): Remove this suppression when we drop support for Ubuntu 13.10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 "pci_alloc", | 202 "pci_alloc", |
189 "pci_init", | 203 "pci_init", |
190 "pci_cleanup", | 204 "pci_cleanup", |
191 "pci_scan_bus", | 205 "pci_scan_bus", |
192 "pci_fill_info", | 206 "pci_fill_info", |
193 "pci_lookup_name", | 207 "pci_lookup_name", |
194 ] | 208 ] |
195 } | 209 } |
196 | 210 |
197 # Looking for libspeechd? Use //third_party/speech-dispatcher | 211 # Looking for libspeechd? Use //third_party/speech-dispatcher |
OLD | NEW |