| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 config("brlapi_config") { | |
| 8 defines = [ "USE_BRLAPI" ] | |
| 9 } | |
| 10 | |
| 11 # TODO(GYP) linux_link_brlapi support. Is this needed? | |
| 12 generate_library_loader("libbrlapi") { | 7 generate_library_loader("libbrlapi") { |
| 13 name = "LibBrlapiLoader" | 8 name = "LibBrlapiLoader" |
| 14 output_h = "libbrlapi.h" | 9 output_h = "libbrlapi.h" |
| 15 output_cc = "libbrlapi_loader.cc" | 10 output_cc = "libbrlapi_loader.cc" |
| 16 header = "<brlapi.h>" | 11 header = "<brlapi.h>" |
| 17 config = ":brlapi_config" | |
| 18 | 12 |
| 19 functions = [ | 13 functions = [ |
| 20 "brlapi_getHandleSize", | 14 "brlapi_getHandleSize", |
| 21 "brlapi_error_location", | 15 "brlapi_error_location", |
| 22 "brlapi_strerror", | 16 "brlapi_strerror", |
| 23 "brlapi__acceptKeys", | 17 "brlapi__acceptKeys", |
| 24 "brlapi__openConnection", | 18 "brlapi__openConnection", |
| 25 "brlapi__closeConnection", | 19 "brlapi__closeConnection", |
| 26 "brlapi__getDisplaySize", | 20 "brlapi__getDisplaySize", |
| 27 "brlapi__enterTtyModeWithPath", | 21 "brlapi__enterTtyModeWithPath", |
| 28 "brlapi__leaveTtyMode", | 22 "brlapi__leaveTtyMode", |
| 29 "brlapi__writeDots", | 23 "brlapi__writeDots", |
| 30 "brlapi__readKey", | 24 "brlapi__readKey", |
| 31 ] | 25 ] |
| 32 } | 26 } |
| OLD | NEW |