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

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

Issue 2151013002: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remoting 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 | « google_apis/BUILD.gn ('k') | gpu/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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
7 7
8 component("gcm") { 8 component("gcm") {
9 sources = [ 9 sources = [
10 "base/gcm_util.cc", 10 "base/gcm_util.cc",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "protocol/checkin.proto", 78 "protocol/checkin.proto",
79 "protocol/mcs.proto", 79 "protocol/mcs.proto",
80 ] 80 ]
81 81
82 cc_generator_options = "dllexport_decl=GCM_EXPORT:" 82 cc_generator_options = "dllexport_decl=GCM_EXPORT:"
83 cc_include = "google_apis/gcm/base/gcm_export.h" 83 cc_include = "google_apis/gcm/base/gcm_export.h"
84 component_build_force_source_set = true 84 component_build_force_source_set = true
85 defines = [ "GCM_IMPLEMENTATION" ] 85 defines = [ "GCM_IMPLEMENTATION" ]
86 } 86 }
87 87
88 source_set("test_support") { 88 static_library("test_support") {
89 testonly = true 89 testonly = true
90 sources = [ 90 sources = [
91 "base/fake_encryptor.cc", 91 "base/fake_encryptor.cc",
92 "base/fake_encryptor.h", 92 "base/fake_encryptor.h",
93 "engine/fake_connection_factory.cc", 93 "engine/fake_connection_factory.cc",
94 "engine/fake_connection_factory.h", 94 "engine/fake_connection_factory.h",
95 "engine/fake_connection_handler.cc", 95 "engine/fake_connection_handler.cc",
96 "engine/fake_connection_handler.h", 96 "engine/fake_connection_handler.h",
97 "monitoring/fake_gcm_stats_recorder.cc", 97 "monitoring/fake_gcm_stats_recorder.cc",
98 "monitoring/fake_gcm_stats_recorder.h", 98 "monitoring/fake_gcm_stats_recorder.h",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 ":gcm", 152 ":gcm",
153 ":test_support", 153 ":test_support",
154 "//base", 154 "//base",
155 "//base/test:run_all_unittests", 155 "//base/test:run_all_unittests",
156 "//net", 156 "//net",
157 "//net:test_support", 157 "//net:test_support",
158 "//testing/gtest", 158 "//testing/gtest",
159 "//third_party/protobuf:protobuf_lite", 159 "//third_party/protobuf:protobuf_lite",
160 ] 160 ]
161 } 161 }
OLDNEW
« no previous file with comments | « google_apis/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698