chromium/third_party/libbrlapi/BUILD.gn

# Copyright 2016 The Chromium Authors
# 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("libbrlapi") {
  name = "LibBrlapiLoader"
  output_h = "libbrlapi.h"
  output_cc = "libbrlapi_loader.cc"
  header = "<brlapi.h>"
  bundled_header = "\"third_party/libbrlapi/brlapi.h\""

  functions = [
    "brlapi_getHandleSize",
    "brlapi_error_location",
    "brlapi_strerror",
    "brlapi__acceptKeys",
    "brlapi__openConnection",
    "brlapi__closeConnection",
    "brlapi__getDisplaySize",
    "brlapi__enterTtyModeWithPath",
    "brlapi__leaveTtyMode",
    "brlapi__writeDots",
    "brlapi__readKey",
    "brlapi__getParameter",
  ]
}