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

Unified Diff: components/storage_monitor/BUILD.gn

Issue 2333573003: //device/media_transfer_protocol depends on dbus (Closed)
Patch Set: Created 4 years, 3 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') | device/media_transfer_protocol/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/BUILD.gn
diff --git a/components/storage_monitor/BUILD.gn b/components/storage_monitor/BUILD.gn
index 1c008c60c2223dd1e85db7656f86e05f9f758085..ffe717e55941dae465142669c61f5dad83b2f886 100644
--- a/components/storage_monitor/BUILD.gn
+++ b/components/storage_monitor/BUILD.gn
@@ -56,7 +56,7 @@ static_library("storage_monitor") {
]
}
- if (is_linux) {
+ if (is_linux && use_dbus) {
deps += [
"//device/media_transfer_protocol",
"//device/media_transfer_protocol:mtp_file_entry_proto",
@@ -111,7 +111,7 @@ static_library("test_support") {
"//content/public/browser",
]
- if (is_linux) {
+ if (is_linux && use_dbus) {
deps = [
"//device/media_transfer_protocol",
"//device/media_transfer_protocol:mtp_file_entry_proto",
@@ -146,7 +146,7 @@ source_set("unit_tests") {
"//testing/gtest",
]
- if (is_linux) {
+ if (is_linux && use_dbus) {
deps += [ "//device/media_transfer_protocol" ]
if (!is_chromeos) {
sources += [ "storage_monitor_linux_unittest.cc" ]
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | device/media_transfer_protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698