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

Side by Side Diff: components/gcm_driver/BUILD.gn

Issue 2143253002: Convert test_support source sets to static libs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « components/drive/BUILD.gn ('k') | components/gcm_driver/crypto/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # GYP version: components/gcm_driver.gypi:gcm_driver 5 # GYP version: components/gcm_driver.gypi:gcm_driver
6 static_library("gcm_driver") { 6 static_library("gcm_driver") {
7 sources = [ 7 sources = [
8 "android/component_jni_registrar.cc", 8 "android/component_jni_registrar.cc",
9 "android/component_jni_registrar.h", 9 "android/component_jni_registrar.h",
10 "default_gcm_app_handler.cc", 10 "default_gcm_app_handler.cc",
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 "gcm_driver_desktop.h", 100 "gcm_driver_desktop.h",
101 "gcm_stats_recorder_impl.cc", 101 "gcm_stats_recorder_impl.cc",
102 "gcm_stats_recorder_impl.h", 102 "gcm_stats_recorder_impl.h",
103 ] 103 ]
104 deps -= [ "//google_apis/gcm" ] 104 deps -= [ "//google_apis/gcm" ]
105 deps += [ "android:jni_headers" ] 105 deps += [ "android:jni_headers" ]
106 } 106 }
107 } 107 }
108 108
109 # GYP version: components/gcm_driver.gypi:gcm_driver_test_support 109 # GYP version: components/gcm_driver.gypi:gcm_driver_test_support
110 source_set("test_support") { 110 static_library("test_support") {
111 testonly = true 111 testonly = true
112 sources = [ 112 sources = [
113 "fake_gcm_app_handler.cc", 113 "fake_gcm_app_handler.cc",
114 "fake_gcm_app_handler.h", 114 "fake_gcm_app_handler.h",
115 "fake_gcm_client.cc", 115 "fake_gcm_client.cc",
116 "fake_gcm_client.h", 116 "fake_gcm_client.h",
117 "fake_gcm_client_factory.cc", 117 "fake_gcm_client_factory.cc",
118 "fake_gcm_client_factory.h", 118 "fake_gcm_client_factory.h",
119 "fake_gcm_driver.cc", 119 "fake_gcm_driver.cc",
120 "fake_gcm_driver.h", 120 "fake_gcm_driver.h",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 if (is_android) { 173 if (is_android) {
174 sources -= [ 174 sources -= [
175 "gcm_account_mapper_unittest.cc", 175 "gcm_account_mapper_unittest.cc",
176 "gcm_channel_status_request_unittest.cc", 176 "gcm_channel_status_request_unittest.cc",
177 "gcm_client_impl_unittest.cc", 177 "gcm_client_impl_unittest.cc",
178 "gcm_driver_desktop_unittest.cc", 178 "gcm_driver_desktop_unittest.cc",
179 "gcm_stats_recorder_impl_unittest.cc", 179 "gcm_stats_recorder_impl_unittest.cc",
180 ] 180 ]
181 } 181 }
182 } 182 }
OLDNEW
« no previous file with comments | « components/drive/BUILD.gn ('k') | components/gcm_driver/crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698