Index: build/linux/libbrlapi/BUILD.gn |
diff --git a/build/linux/libbrlapi/BUILD.gn b/build/linux/libbrlapi/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..90031acbaf10b3d85cead04fd51bd5c9b897df0c |
--- /dev/null |
+++ b/build/linux/libbrlapi/BUILD.gn |
@@ -0,0 +1,21 @@ |
+# Copyright (c) 2015 The Chromium Authors. All rights reserved. |
brettw
2016/05/03 20:22:03
New copyright notice doesn't include (c)
dsinclair
2016/05/03 20:48:02
Done.
|
+# 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") |
+ |
+gypi_values = exec_script("//build/gypi_to_gn.py", |
brettw
2016/05/03 20:22:03
If we wanted to keep doing the gypi_to_gn thing he
dsinclair
2016/05/03 20:48:02
Done.
|
+ [ rebase_path("../system.gyp") ], |
+ "scope", |
+ [ "../system.gyp" ]) |
+ |
+# TODO(GYP) linux_link_brlapi support. Is this needed? |
+generate_library_loader("libbrlapi") { |
+ name = "LibBrlapiLoader" |
+ output_h = "libbrlapi.h" |
+ output_cc = "libbrlapi_loader.cc" |
+ header = "<brlapi.h>" |
+ config = ":brlapi_config" |
+ |
+ functions = gypi_values.libbrlapi_functions |
+} |