1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # The public GCM target.
14 'type': '<(component)',
16 'enable_wexit_time_destructors': 1,
17 'proto_in_dir': './protocol',
18 'proto_out_dir': 'google_apis/gcm/protocol',
19 'cc_generator_options': 'dllexport_decl=GCM_EXPORT:',
20 'cc_include': 'google_apis/gcm/base/gcm_export.h',
28 'export_dependent_settings': [
29 '../../third_party/protobuf/protobuf.gyp:protobuf_lite'
32 '../../base/base.gyp:base',
33 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
34 '../../net/net.gyp:net',
35 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
36 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
37 '../../url/url.gyp:url_lib',
40 'base/mcs_message.cc',
44 'base/socket_stream.cc',
45 'base/socket_stream.h',
46 'engine/checkin_request.cc',
47 'engine/checkin_request.h',
48 'engine/connection_factory.cc',
49 'engine/connection_factory.h',
50 'engine/connection_factory_impl.cc',
51 'engine/connection_factory_impl.h',
52 'engine/connection_handler.cc',
53 'engine/connection_handler.h',
54 'engine/connection_handler_impl.cc',
55 'engine/connection_handler_impl.h',
56 'engine/gcm_store.cc',
58 'engine/gcm_store_impl.cc',
59 'engine/gcm_store_impl.h',
60 'engine/gservices_settings.cc',
61 'engine/gservices_settings.h',
62 'engine/heartbeat_manager.cc',
63 'engine/heartbeat_manager.h',
64 'engine/mcs_client.cc',
65 'engine/mcs_client.h',
66 'engine/registration_info.cc',
67 'engine/registration_info.h',
68 'engine/registration_request.cc',
69 'engine/registration_request.h',
70 'engine/unregistration_request.cc',
71 'engine/unregistration_request.h',
76 'monitoring/gcm_stats_recorder.cc',
77 'monitoring/gcm_stats_recorder.h',
78 'protocol/android_checkin.proto',
79 'protocol/checkin.proto',
83 '../../build/protoc.gypi'
87 # A standalone MCS (mobile connection server) client.
89 'target_name': 'mcs_probe',
91 'variables': { 'enable_wexit_time_destructors': 1, },
96 '../../base/base.gyp:base',
97 '../../net/net.gyp:net',
98 '../../net/net.gyp:net_test_support',
99 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
103 'base/fake_encryptor.cc',
104 'base/fake_encryptor.h',
105 'tools/mcs_probe.cc',
109 # The main GCM unit tests.
111 'target_name': 'gcm_unit_tests',
112 'type': '<(gtest_target_type)',
113 'variables': { 'enable_wexit_time_destructors': 1, },
117 'export_dependent_settings': [
118 '../../third_party/protobuf/protobuf.gyp:protobuf_lite'
121 '../../base/base.gyp:run_all_unittests',
122 '../../base/base.gyp:base',
123 '../../net/net.gyp:net',
124 '../../net/net.gyp:net_test_support',
125 '../../testing/gtest.gyp:gtest',
126 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
130 'base/fake_encryptor.cc',
131 'base/fake_encryptor.h',
132 'base/mcs_message_unittest.cc',
133 'base/mcs_util_unittest.cc',
134 'base/socket_stream_unittest.cc',
135 'engine/checkin_request_unittest.cc',
136 'engine/connection_factory_impl_unittest.cc',
137 'engine/connection_handler_impl_unittest.cc',
138 'engine/fake_connection_factory.cc',
139 'engine/fake_connection_factory.h',
140 'engine/fake_connection_handler.cc',
141 'engine/fake_connection_handler.h',
142 'engine/gcm_store_impl_unittest.cc',
143 'engine/gservices_settings_unittest.cc',
144 'engine/heartbeat_manager_unittest.cc',
145 'engine/mcs_client_unittest.cc',
146 'engine/registration_request_unittest.cc',
147 'engine/unregistration_request_unittest.cc',
148 'gcm_client_impl_unittest.cc',
149 'monitoring/gcm_stats_recorder_unittest.cc'