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

Unified Diff: components/gcm_driver/BUILD.gn

Issue 1464463004: Componentize Unit Test for gcm_profile_service Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years 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/components_tests.gyp ('k') | components/gcm_driver/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/BUILD.gn
diff --git a/components/gcm_driver/BUILD.gn b/components/gcm_driver/BUILD.gn
index d02948b7daf391ef10e5dd09a2b7bd56265b9569..2413a61472d1f3885e327c79756afefc56285d57 100644
--- a/components/gcm_driver/BUILD.gn
+++ b/components/gcm_driver/BUILD.gn
@@ -161,6 +161,7 @@ source_set("unit_tests") {
"//base",
"//base:prefs_test_support",
"//base/test:test_support",
+ "//components/signin/core/browser:test_support",
"//google_apis:test_support",
"//google_apis/gcm:test_support",
"//net:test_support",
@@ -169,12 +170,17 @@ source_set("unit_tests") {
"//third_party/protobuf:protobuf_lite",
]
+ if (is_chromeos) {
+ deps += [ "//chromeos:chromeos" ]
+ }
+
if (is_android) {
sources -= [
"gcm_account_mapper_unittest.cc",
"gcm_channel_status_request_unittest.cc",
"gcm_client_impl_unittest.cc",
"gcm_driver_desktop_unittest.cc",
+ "gcm_profile_service_unittest.cc",
"gcm_stats_recorder_impl_unittest.cc",
]
}
« no previous file with comments | « components/components_tests.gyp ('k') | components/gcm_driver/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698