OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//tools/generate_library_loader/generate_library_loader.gni") |
| 6 |
| 7 config("brlapi_config") { |
| 8 defines = [ "USE_BRLAPI" ] |
| 9 } |
| 10 |
| 11 # TODO(GYP) linux_link_brlapi support. Is this needed? |
| 12 generate_library_loader("libbrlapi") { |
| 13 name = "LibBrlapiLoader" |
| 14 output_h = "libbrlapi.h" |
| 15 output_cc = "libbrlapi_loader.cc" |
| 16 header = "<brlapi.h>" |
| 17 config = ":brlapi_config" |
| 18 |
| 19 functions = [ |
| 20 "brlapi_getHandleSize", |
| 21 "brlapi_error_location", |
| 22 "brlapi_strerror", |
| 23 "brlapi__acceptKeys", |
| 24 "brlapi__openConnection", |
| 25 "brlapi__closeConnection", |
| 26 "brlapi__getDisplaySize", |
| 27 "brlapi__enterTtyModeWithPath", |
| 28 "brlapi__leaveTtyMode", |
| 29 "brlapi__writeDots", |
| 30 "brlapi__readKey", |
| 31 ] |
| 32 } |
OLD | NEW |