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

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

Issue 429723002: Run pkg-config for Udev only if use_udev==1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | build/linux/system.gyp » ('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 c19758867b0ac07b96796d3229c6999a5859370f..7433c4e30c0a5d8f1cbfd9155db4a64b30e30843 100644
--- a/build/config/linux/BUILD.gn
+++ b/build/config/linux/BUILD.gn
@@ -47,8 +47,10 @@ pkg_config("pangoft2") {
packages = [ "pangoft2" ]
}
-pkg_config("udev") {
- packages = [ "libudev" ]
+if (use_udev) {
+ pkg_config("udev") {
+ packages = [ "libudev" ]
+ }
}
# Note: if your target also depends on //dbus, you don't need to add this
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698