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

Unified Diff: chrome/browser/ui/BUILD.gn

Issue 1295303006: gn build: check use_udev before depending on udev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/BUILD.gn
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index 3acc281264a6130cf8bdd829d582aa7851c9fbe6..d3d28e99b1201362564fbcc1038bce136f5eab4c 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -385,7 +385,6 @@ source_set("ui") {
sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources,
".",
"//chrome")
- deps += [ "//device/udev_linux" ]
if (use_aura) {
configs += [ "//build/config/linux:fontconfig" ]
deps += [ "//dbus" ]
@@ -402,6 +401,10 @@ source_set("ui") {
}
}
+ if (use_udev) {
+ deps += [ "//device/udev_linux" ]
+ }
+
if (enable_app_list) {
sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources,
".",
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698