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

Unified Diff: build/config/linux/BUILD.gn

Issue 383083010: Add browser_extensions to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix Created 6 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/features.gni ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/linux/BUILD.gn
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn
index bbbe028bbcd03d15ec865b36eb4ffa45b299d419..d7c1d9c930ea916621ec0f67118aa37f26b4ec5f 100644
--- a/build/config/linux/BUILD.gn
+++ b/build/config/linux/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/linux/pkg_config.gni")
+import("//build/config/features.gni")
import("//build/config/sysroot.gni")
import("//build/config/ui.gni")
import("//tools/generate_library_loader/generate_library_loader.gni")
@@ -116,6 +117,22 @@ pkg_config("gconf") {
defines = [ "USE_GCONF" ]
}
+# If brlapi isn't needed, don't require it to be installed.
+if (use_brlapi) {
+ config("brlapi_config") {
+ defines = [ "USE_BRLAPI" ]
+ }
+
+ # 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"
+ }
+}
+
pkg_config("gio_config") {
packages = [ "gio-2.0" ]
defines = [ "USE_GIO" ]
« no previous file with comments | « build/config/features.gni ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698