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

Unified Diff: chrome/browser/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 | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index bf72df655929ec03f2154edacbfdb8bcad686501..f5d4868c403a1fe1bc3d6bfffda2f182b3cf1734 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -490,11 +490,13 @@ source_set("browser") {
}
if (is_linux) {
- deps += [
- "//device/media_transfer_protocol",
- "//device/udev_linux",
- ]
+ deps += [ "//device/media_transfer_protocol" ]
}
+
+ if (use_udev) {
+ deps += [ "//device/udev_linux" ]
+ }
+
if (is_linux && !is_chromeos) {
deps += [ "//third_party/speech-dispatcher" ]
}
« no previous file with comments | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698