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 '../../components/components.gyp:os_crypt',
35 '../../net/net.gyp:net',
36 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
37 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
38 '../../url/url.gyp:url_lib',
41 'base/mcs_message.cc',
45 'base/socket_stream.cc',
46 'base/socket_stream.h',
47 'engine/checkin_request.cc',
48 'engine/checkin_request.h',
49 'engine/connection_factory.cc',
50 'engine/connection_factory.h',
51 'engine/connection_factory_impl.cc',
52 'engine/connection_factory_impl.h',
53 'engine/connection_handler.cc',
54 'engine/connection_handler.h',
55 'engine/connection_handler_impl.cc',
56 'engine/connection_handler_impl.h',
57 'engine/gcm_store.cc',
59 'engine/gcm_store_impl.cc',
60 'engine/gcm_store_impl.h',
61 'engine/heartbeat_manager.cc',
62 'engine/heartbeat_manager.h',
63 'engine/mcs_client.cc',
64 'engine/mcs_client.h',
65 'engine/registration_info.cc',
66 'engine/registration_info.h',
67 'engine/registration_request.cc',
68 'engine/registration_request.h',
69 'engine/unregistration_request.cc',
70 'engine/unregistration_request.h',
75 'protocol/android_checkin.proto',
76 'protocol/checkin.proto',
80 '../../build/protoc.gypi'
84 # A standalone MCS (mobile connection server) client.
86 'target_name': 'mcs_probe',
88 'variables': { 'enable_wexit_time_destructors': 1, },
93 '../../base/base.gyp:base',
94 '../../net/net.gyp:net',
95 '../../net/net.gyp:net_test_support',
96 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
100 'tools/mcs_probe.cc',
104 # The main GCM unit tests.
106 'target_name': 'gcm_unit_tests',
107 'type': '<(gtest_target_type)',
108 'variables': { 'enable_wexit_time_destructors': 1, },
112 'export_dependent_settings': [
113 '../../third_party/protobuf/protobuf.gyp:protobuf_lite'
116 '../../base/base.gyp:run_all_unittests',
117 '../../base/base.gyp:base',
118 '../../components/components.gyp:os_crypt',
119 '../../net/net.gyp:net',
120 '../../net/net.gyp:net_test_support',
121 '../../testing/gtest.gyp:gtest',
122 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
126 'base/mcs_message_unittest.cc',
127 'base/mcs_util_unittest.cc',
128 'base/socket_stream_unittest.cc',
129 'engine/checkin_request_unittest.cc',
130 'engine/connection_factory_impl_unittest.cc',
131 'engine/connection_handler_impl_unittest.cc',
132 'engine/fake_connection_factory.cc',
133 'engine/fake_connection_factory.h',
134 'engine/fake_connection_handler.cc',
135 'engine/fake_connection_handler.h',
136 'engine/gcm_store_impl_unittest.cc',
137 'engine/heartbeat_manager_unittest.cc',
138 'engine/mcs_client_unittest.cc',
139 'engine/registration_request_unittest.cc',
140 'engine/unregistration_request_unittest.cc',
141 'gcm_client_impl_unittest.cc'