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', |
34 '../../net/net.gyp:net', | 35 '../../net/net.gyp:net', |
35 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 36 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
36 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', | 37 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', |
37 '../../url/url.gyp:url_lib', | 38 '../../url/url.gyp:url_lib', |
38 ], | 39 ], |
39 'sources': [ | 40 'sources': [ |
40 'base/mcs_message.cc', | 41 'base/mcs_message.cc', |
41 'base/mcs_message.h', | 42 'base/mcs_message.h', |
42 'base/mcs_util.cc', | 43 'base/mcs_util.cc', |
43 'base/mcs_util.h', | 44 'base/mcs_util.h', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 '../..', | 94 '../..', |
94 ], | 95 ], |
95 'dependencies': [ | 96 'dependencies': [ |
96 '../../base/base.gyp:base', | 97 '../../base/base.gyp:base', |
97 '../../net/net.gyp:net', | 98 '../../net/net.gyp:net', |
98 '../../net/net.gyp:net_test_support', | 99 '../../net/net.gyp:net_test_support', |
99 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', | 100 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', |
100 'gcm' | 101 'gcm' |
101 ], | 102 ], |
102 'sources': [ | 103 'sources': [ |
103 'base/fake_encryptor.cc', | |
104 'base/fake_encryptor.h', | |
105 'tools/mcs_probe.cc', | 104 'tools/mcs_probe.cc', |
106 ], | 105 ], |
107 }, | 106 }, |
108 | 107 |
109 # The main GCM unit tests. | 108 # The main GCM unit tests. |
110 { | 109 { |
111 'target_name': 'gcm_unit_tests', | 110 'target_name': 'gcm_unit_tests', |
112 'type': '<(gtest_target_type)', | 111 'type': '<(gtest_target_type)', |
113 'variables': { 'enable_wexit_time_destructors': 1, }, | 112 'variables': { 'enable_wexit_time_destructors': 1, }, |
114 'include_dirs': [ | 113 'include_dirs': [ |
115 '../..', | 114 '../..', |
116 ], | 115 ], |
117 'export_dependent_settings': [ | 116 'export_dependent_settings': [ |
118 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' | 117 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
119 ], | 118 ], |
120 'dependencies': [ | 119 'dependencies': [ |
121 '../../base/base.gyp:run_all_unittests', | 120 '../../base/base.gyp:run_all_unittests', |
122 '../../base/base.gyp:base', | 121 '../../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', | |
132 'base/mcs_message_unittest.cc', | 130 'base/mcs_message_unittest.cc', |
133 'base/mcs_util_unittest.cc', | 131 'base/mcs_util_unittest.cc', |
134 'base/socket_stream_unittest.cc', | 132 'base/socket_stream_unittest.cc', |
135 'engine/checkin_request_unittest.cc', | 133 'engine/checkin_request_unittest.cc', |
136 'engine/connection_factory_impl_unittest.cc', | 134 'engine/connection_factory_impl_unittest.cc', |
137 'engine/connection_handler_impl_unittest.cc', | 135 'engine/connection_handler_impl_unittest.cc', |
138 'engine/fake_connection_factory.cc', | 136 'engine/fake_connection_factory.cc', |
139 'engine/fake_connection_factory.h', | 137 'engine/fake_connection_factory.h', |
140 'engine/fake_connection_handler.cc', | 138 'engine/fake_connection_handler.cc', |
141 'engine/fake_connection_handler.h', | 139 'engine/fake_connection_handler.h', |
142 'engine/gcm_store_impl_unittest.cc', | 140 'engine/gcm_store_impl_unittest.cc', |
143 'engine/gservices_settings_unittest.cc', | 141 'engine/gservices_settings_unittest.cc', |
144 'engine/heartbeat_manager_unittest.cc', | 142 'engine/heartbeat_manager_unittest.cc', |
145 'engine/mcs_client_unittest.cc', | 143 'engine/mcs_client_unittest.cc', |
146 'engine/registration_request_unittest.cc', | 144 'engine/registration_request_unittest.cc', |
147 'engine/unregistration_request_unittest.cc', | 145 'engine/unregistration_request_unittest.cc', |
148 'gcm_client_impl_unittest.cc', | 146 'gcm_client_impl_unittest.cc', |
149 'monitoring/gcm_stats_recorder_unittest.cc' | 147 'monitoring/gcm_stats_recorder_unittest.cc' |
150 ] | 148 ] |
151 }, | 149 }, |
152 ], | 150 ], |
153 } | 151 } |
OLD | NEW |