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

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

Issue 559763002: Make component build Chrome link. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/renderer/BUILD.gn ('k') | ppapi/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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 forward_dependent_configs_from = [ ":proto" ] 57 forward_dependent_configs_from = [ ":proto" ]
58 } 58 }
59 59
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
68 cc_generator_options = "dllexport_decl=GCM_EXPORT:"
69 cc_include = "google_apis/gcm/base/gcm_export.h"
70 defines = [ "GCM_IMPLEMENTATION" ]
67 } 71 }
68 72
69 static_library("test_support") { 73 static_library("test_support") {
70 testonly = true 74 testonly = true
71 sources = [ 75 sources = [
72 "base/fake_encryptor.cc", 76 "base/fake_encryptor.cc",
73 "base/fake_encryptor.h", 77 "base/fake_encryptor.h",
74 "engine/fake_connection_factory.cc", 78 "engine/fake_connection_factory.cc",
75 "engine/fake_connection_factory.h", 79 "engine/fake_connection_factory.h",
76 "engine/fake_connection_handler.cc", 80 "engine/fake_connection_handler.cc",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 deps = [ 129 deps = [
126 ":proto", 130 ":proto",
127 ":test_support", 131 ":test_support",
128 "//base", 132 "//base",
129 "//base/test:run_all_unittests", 133 "//base/test:run_all_unittests",
130 "//net", 134 "//net",
131 "//net:test_support", 135 "//net:test_support",
132 "//testing/gtest", 136 "//testing/gtest",
133 ] 137 ]
134 } 138 }
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698