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

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

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 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 unified diff | Download patch
« no previous file with comments | « components/enhanced_bookmarks/BUILD.gn ('k') | components/invalidation/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 static_library("gcm_driver") { 5 static_library("gcm_driver") {
6 sources = [ 6 sources = [
7 "android/component_jni_registrar.cc", 7 "android/component_jni_registrar.cc",
8 "android/component_jni_registrar.h", 8 "android/component_jni_registrar.h",
9 "default_gcm_app_handler.cc", 9 "default_gcm_app_handler.cc",
10 "default_gcm_app_handler.h", 10 "default_gcm_app_handler.h",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 ] 59 ]
60 deps -= [ 60 deps -= [
61 "//components/gcm_driver/proto", 61 "//components/gcm_driver/proto",
62 "//google_apis/gcm", 62 "//google_apis/gcm",
63 ] 63 ]
64 deps += [ ":jni_headers" ] 64 deps += [ ":jni_headers" ]
65 } 65 }
66 } 66 }
67 67
68 static_library("test_support") { 68 static_library("test_support") {
69 testonly = true
69 sources = [ 70 sources = [
70 "fake_gcm_app_handler.cc", 71 "fake_gcm_app_handler.cc",
71 "fake_gcm_app_handler.h", 72 "fake_gcm_app_handler.h",
72 "fake_gcm_client.cc", 73 "fake_gcm_client.cc",
73 "fake_gcm_client.h", 74 "fake_gcm_client.h",
74 "fake_gcm_client_factory.cc", 75 "fake_gcm_client_factory.cc",
75 "fake_gcm_client_factory.h", 76 "fake_gcm_client_factory.h",
76 "fake_gcm_driver.cc", 77 "fake_gcm_driver.cc",
77 "fake_gcm_driver.h", 78 "fake_gcm_driver.h",
78 ] 79 ]
(...skipping 10 matching lines...) Expand all
89 "fake_gcm_client.cc", 90 "fake_gcm_client.cc",
90 "fake_gcm_client.h", 91 "fake_gcm_client.h",
91 "fake_gcm_client_factory.cc", 92 "fake_gcm_client_factory.cc",
92 "fake_gcm_client_factory.h", 93 "fake_gcm_client_factory.h",
93 ] 94 ]
94 deps -= [ "//google_apis/gcm" ] 95 deps -= [ "//google_apis/gcm" ]
95 } 96 }
96 } 97 }
97 98
98 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers 99 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers
OLDNEW
« no previous file with comments | « components/enhanced_bookmarks/BUILD.gn ('k') | components/invalidation/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698