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',
42 'base/mcs_message.cc',
45 'base/socket_stream.h',
46 'base/socket_stream.cc',
47 'engine/connection_factory.h',
48 'engine/connection_factory.cc',
49 'engine/connection_factory_impl.h',
50 'engine/connection_factory_impl.cc',
51 'engine/connection_handler.h',
52 'engine/connection_handler.cc',
53 'engine/connection_handler_impl.h',
54 'engine/connection_handler_impl.cc',
55 'engine/heartbeat_manager.h',
56 'engine/heartbeat_manager.cc',
57 'engine/mcs_client.h',
58 'engine/mcs_client.cc',
60 'engine/rmq_store.cc',
68 '../../build/protoc.gypi'
72 # A standalone MCS (mobile connection server) client.
74 'target_name': 'mcs_probe',
76 'variables': { 'enable_wexit_time_destructors': 1, },
81 '../../base/base.gyp:base',
82 '../../net/net.gyp:net',
83 '../../net/net.gyp:net_test_support',
84 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
92 # The main GCM unit tests.
94 'target_name': 'gcm_unit_tests',
95 'type': '<(gtest_target_type)',
96 'variables': { 'enable_wexit_time_destructors': 1, },
100 'export_dependent_settings': [
101 '../../third_party/protobuf/protobuf.gyp:protobuf_lite'
104 '../../base/base.gyp:run_all_unittests',
105 '../../base/base.gyp:base',
106 '../../components/components.gyp:encryptor',
107 '../../net/net.gyp:net',
108 '../../net/net.gyp:net_test_support',
109 '../../testing/gtest.gyp:gtest',
110 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
114 'base/mcs_message_unittest.cc',
115 'base/mcs_util_unittest.cc',
116 'base/socket_stream_unittest.cc',
117 'engine/connection_factory_impl_unittest.cc',
118 'engine/connection_handler_impl_unittest.cc',
119 'engine/fake_connection_factory.h',
120 'engine/fake_connection_factory.cc',
121 'engine/fake_connection_handler.h',
122 'engine/fake_connection_handler.cc',
123 'engine/heartbeat_manager_unittest.cc',
124 'engine/mcs_client_unittest.cc',
125 'engine/rmq_store_unittest.cc',