Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: build/linux/libbrlapi/BUILD.gn

Issue 2497653002: Move use_brlapi build flag to chrome. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698