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

Side by Side Diff: google_apis/gcm/BUILD.gn

Issue 547793002: Add lots of testonly annotations to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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 | « google_apis/BUILD.gn ('k') | jingle/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 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 component("gcm") { 7 component("gcm") {
8 sources = [ 8 sources = [
9 "base/mcs_message.cc", 9 "base/mcs_message.cc",
10 "base/mcs_message.h", 10 "base/mcs_message.h",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 proto_library("proto") { 60 proto_library("proto") {
61 visibility = ":*" 61 visibility = ":*"
62 sources = [ 62 sources = [
63 "protocol/android_checkin.proto", 63 "protocol/android_checkin.proto",
64 "protocol/checkin.proto", 64 "protocol/checkin.proto",
65 "protocol/mcs.proto", 65 "protocol/mcs.proto",
66 ] 66 ]
67 } 67 }
68 68
69 static_library("test_support") { 69 static_library("test_support") {
70 testonly = true
70 sources = [ 71 sources = [
71 "base/fake_encryptor.cc", 72 "base/fake_encryptor.cc",
72 "base/fake_encryptor.h", 73 "base/fake_encryptor.h",
73 "engine/fake_connection_factory.cc", 74 "engine/fake_connection_factory.cc",
74 "engine/fake_connection_factory.h", 75 "engine/fake_connection_factory.h",
75 "engine/fake_connection_handler.cc", 76 "engine/fake_connection_handler.cc",
76 "engine/fake_connection_handler.h", 77 "engine/fake_connection_handler.h",
77 "monitoring/fake_gcm_stats_recorder.cc", 78 "monitoring/fake_gcm_stats_recorder.cc",
78 "monitoring/fake_gcm_stats_recorder.h", 79 "monitoring/fake_gcm_stats_recorder.h",
79 ] 80 ]
80 81
81 deps = [ 82 deps = [
82 ":gcm", 83 ":gcm",
83 "//base", 84 "//base",
84 "//testing/gtest", 85 "//testing/gtest",
85 ] 86 ]
86 87
87 forward_dependent_configs_from = [ ":gcm" ] 88 forward_dependent_configs_from = [ ":gcm" ]
88 } 89 }
89 90
90 # A standalone MCS (mobile connection server) client. 91 # A standalone MCS (mobile connection server) client.
91 executable("mcs_probe") { 92 executable("mcs_probe") {
93 testonly = true
92 sources = [ 94 sources = [
93 "tools/mcs_probe.cc", 95 "tools/mcs_probe.cc",
94 ] 96 ]
95 97
96 deps = [ 98 deps = [
97 ":gcm", 99 ":gcm",
98 ":proto", 100 ":proto",
99 ":test_support", 101 ":test_support",
100 "//base", 102 "//base",
101 "//net", 103 "//net",
(...skipping 21 matching lines...) Expand all
123 deps = [ 125 deps = [
124 ":proto", 126 ":proto",
125 ":test_support", 127 ":test_support",
126 "//base", 128 "//base",
127 "//base/test:run_all_unittests", 129 "//base/test:run_all_unittests",
128 "//net", 130 "//net",
129 "//net:test_support", 131 "//net:test_support",
130 "//testing/gtest", 132 "//testing/gtest",
131 ] 133 ]
132 } 134 }
OLDNEW
« no previous file with comments | « google_apis/BUILD.gn ('k') | jingle/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698