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:encryptor',
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_request.cc',
66 'engine/registration_request.h',
67 'engine/unregistration_request.cc',
68 'engine/unregistration_request.h',
73 'protocol/android_checkin.proto',
74 'protocol/checkin.proto',
78 '../../build/protoc.gypi'
82 # A standalone MCS (mobile connection server) client.
84 'target_name': 'mcs_probe',
86 'variables': { 'enable_wexit_time_destructors': 1, },
91 '../../base/base.gyp:base',
92 '../../net/net.gyp:net',
93 '../../net/net.gyp:net_test_support',
94 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
102 # The main GCM unit tests.
104 'target_name': 'gcm_unit_tests',
105 'type': '<(gtest_target_type)',
106 'variables': { 'enable_wexit_time_destructors': 1, },
110 'export_dependent_settings': [
111 '../../third_party/protobuf/protobuf.gyp:protobuf_lite'
114 '../../base/base.gyp:run_all_unittests',
115 '../../base/base.gyp:base',
116 '../../components/components.gyp:encryptor',
117 '../../net/net.gyp:net',
118 '../../net/net.gyp:net_test_support',
119 '../../testing/gtest.gyp:gtest',
120 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
124 'base/mcs_message_unittest.cc',
125 'base/mcs_util_unittest.cc',
126 'base/socket_stream_unittest.cc',
127 'engine/checkin_request_unittest.cc',
128 'engine/connection_factory_impl_unittest.cc',
129 'engine/connection_handler_impl_unittest.cc',
130 'engine/fake_connection_factory.cc',
131 'engine/fake_connection_factory.h',
132 'engine/fake_connection_handler.cc',
133 'engine/fake_connection_handler.h',
134 'engine/gcm_store_impl_unittest.cc',
135 'engine/heartbeat_manager_unittest.cc',
136 'engine/mcs_client_unittest.cc',
137 'engine/registration_request_unittest.cc',
138 'engine/unregistration_request_unittest.cc',
139 'gcm_client_impl_unittest.cc'