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

Unified Diff: components/storage_monitor/BUILD.gn

Issue 1390223002: Enforce WARN_UNUSED_RESULT attribute on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years, 2 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 | « components/storage_monitor.gypi ('k') | components/storage_monitor/test_volume_mount_watcher_win.cc » ('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 ccb33cea904163e1565fd1b5a57c507d1143e315..4a72f79041333e43390b5cf87cf4ffc88b31ca76 100644
--- a/components/storage_monitor/BUILD.gn
+++ b/components/storage_monitor/BUILD.gn
@@ -86,6 +86,7 @@ source_set("storage_monitor") {
# GYP version: components/storage_monitor.gypi:storage_monitor_test_support
source_set("test_support") {
+ testonly = true
sources = [
"mock_removable_storage_observer.cc",
"mock_removable_storage_observer.h",
@@ -113,6 +114,12 @@ source_set("test_support") {
"//device/media_transfer_protocol:mtp_storage_info_proto",
]
}
+
+ if (is_win) {
+ deps = [
+ "//testing/gtest",
+ ]
+ }
}
source_set("unit_tests") {
« no previous file with comments | « components/storage_monitor.gypi ('k') | components/storage_monitor/test_volume_mount_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698