OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 | 9 |
10 'targets': [ | 10 'targets': [ |
(...skipping 13 matching lines...) Expand all Loading... |
24 ], | 24 ], |
25 'defines': [ | 25 'defines': [ |
26 'GCM_IMPLEMENTATION', | 26 'GCM_IMPLEMENTATION', |
27 ], | 27 ], |
28 'export_dependent_settings': [ | 28 'export_dependent_settings': [ |
29 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' | 29 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
30 ], | 30 ], |
31 'dependencies': [ | 31 'dependencies': [ |
32 '../../base/base.gyp:base', | 32 '../../base/base.gyp:base', |
33 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 33 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
34 '../../components/components.gyp:os_crypt', | |
35 '../../net/net.gyp:net', | 34 '../../net/net.gyp:net', |
36 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 35 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
37 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', | 36 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', |
38 '../../url/url.gyp:url_lib', | 37 '../../url/url.gyp:url_lib', |
39 ], | 38 ], |
40 'sources': [ | 39 'sources': [ |
41 'base/mcs_message.cc', | 40 'base/mcs_message.cc', |
42 'base/mcs_message.h', | 41 'base/mcs_message.h', |
43 'base/mcs_util.cc', | 42 'base/mcs_util.cc', |
44 'base/mcs_util.h', | 43 'base/mcs_util.h', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 '../..', | 93 '../..', |
95 ], | 94 ], |
96 'dependencies': [ | 95 'dependencies': [ |
97 '../../base/base.gyp:base', | 96 '../../base/base.gyp:base', |
98 '../../net/net.gyp:net', | 97 '../../net/net.gyp:net', |
99 '../../net/net.gyp:net_test_support', | 98 '../../net/net.gyp:net_test_support', |
100 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', | 99 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', |
101 'gcm' | 100 'gcm' |
102 ], | 101 ], |
103 'sources': [ | 102 'sources': [ |
| 103 'base/fake_encryptor.cc', |
| 104 'base/fake_encryptor.h', |
104 'tools/mcs_probe.cc', | 105 'tools/mcs_probe.cc', |
105 ], | 106 ], |
106 }, | 107 }, |
107 | 108 |
108 # The main GCM unit tests. | 109 # The main GCM unit tests. |
109 { | 110 { |
110 'target_name': 'gcm_unit_tests', | 111 'target_name': 'gcm_unit_tests', |
111 'type': '<(gtest_target_type)', | 112 'type': '<(gtest_target_type)', |
112 'variables': { 'enable_wexit_time_destructors': 1, }, | 113 'variables': { 'enable_wexit_time_destructors': 1, }, |
113 'include_dirs': [ | 114 'include_dirs': [ |
114 '../..', | 115 '../..', |
115 ], | 116 ], |
116 'export_dependent_settings': [ | 117 'export_dependent_settings': [ |
117 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' | 118 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
118 ], | 119 ], |
119 'dependencies': [ | 120 'dependencies': [ |
120 '../../base/base.gyp:run_all_unittests', | 121 '../../base/base.gyp:run_all_unittests', |
121 '../../base/base.gyp:base', | 122 '../../base/base.gyp:base', |
122 '../../components/components.gyp:os_crypt', | |
123 '../../net/net.gyp:net', | 123 '../../net/net.gyp:net', |
124 '../../net/net.gyp:net_test_support', | 124 '../../net/net.gyp:net_test_support', |
125 '../../testing/gtest.gyp:gtest', | 125 '../../testing/gtest.gyp:gtest', |
126 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', | 126 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', |
127 'gcm' | 127 'gcm' |
128 ], | 128 ], |
129 'sources': [ | 129 'sources': [ |
| 130 'base/fake_encryptor.cc', |
| 131 'base/fake_encryptor.h', |
130 'base/mcs_message_unittest.cc', | 132 'base/mcs_message_unittest.cc', |
131 'base/mcs_util_unittest.cc', | 133 'base/mcs_util_unittest.cc', |
132 'base/socket_stream_unittest.cc', | 134 'base/socket_stream_unittest.cc', |
133 'engine/checkin_request_unittest.cc', | 135 'engine/checkin_request_unittest.cc', |
134 'engine/connection_factory_impl_unittest.cc', | 136 'engine/connection_factory_impl_unittest.cc', |
135 'engine/connection_handler_impl_unittest.cc', | 137 'engine/connection_handler_impl_unittest.cc', |
136 'engine/fake_connection_factory.cc', | 138 'engine/fake_connection_factory.cc', |
137 'engine/fake_connection_factory.h', | 139 'engine/fake_connection_factory.h', |
138 'engine/fake_connection_handler.cc', | 140 'engine/fake_connection_handler.cc', |
139 'engine/fake_connection_handler.h', | 141 'engine/fake_connection_handler.h', |
140 'engine/gcm_store_impl_unittest.cc', | 142 'engine/gcm_store_impl_unittest.cc', |
141 'engine/gservices_settings_unittest.cc', | 143 'engine/gservices_settings_unittest.cc', |
142 'engine/heartbeat_manager_unittest.cc', | 144 'engine/heartbeat_manager_unittest.cc', |
143 'engine/mcs_client_unittest.cc', | 145 'engine/mcs_client_unittest.cc', |
144 'engine/registration_request_unittest.cc', | 146 'engine/registration_request_unittest.cc', |
145 'engine/unregistration_request_unittest.cc', | 147 'engine/unregistration_request_unittest.cc', |
146 'gcm_client_impl_unittest.cc', | 148 'gcm_client_impl_unittest.cc', |
147 'monitoring/gcm_stats_recorder_unittest.cc' | 149 'monitoring/gcm_stats_recorder_unittest.cc' |
148 ] | 150 ] |
149 }, | 151 }, |
150 ], | 152 ], |
151 } | 153 } |
OLD | NEW |