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:encryptor', |
34 '../../net/net.gyp:net', | 35 '../../net/net.gyp:net', |
| 36 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
35 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' | 37 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
36 ], | 38 ], |
37 'sources': [ | 39 'sources': [ |
| 40 'base/mcs_message.h', |
| 41 'base/mcs_message.cc', |
38 'base/mcs_util.h', | 42 'base/mcs_util.h', |
39 'base/mcs_util.cc', | 43 'base/mcs_util.cc', |
40 'base/socket_stream.h', | 44 'base/socket_stream.h', |
41 'base/socket_stream.cc', | 45 'base/socket_stream.cc', |
42 'engine/connection_handler.h', | 46 'engine/connection_handler.h', |
43 'engine/connection_handler.cc', | 47 'engine/connection_handler.cc', |
| 48 'engine/rmq_store.h', |
| 49 'engine/rmq_store.cc', |
44 'gcm_client.cc', | 50 'gcm_client.cc', |
45 'gcm_client.h', | 51 'gcm_client.h', |
46 'gcm_client_impl.cc', | 52 'gcm_client_impl.cc', |
47 'gcm_client_impl.h', | 53 'gcm_client_impl.h', |
48 'protocol/mcs.proto', | 54 'protocol/mcs.proto', |
49 ], | 55 ], |
50 'includes': [ | 56 'includes': [ |
51 '../../build/protoc.gypi' | 57 '../../build/protoc.gypi' |
52 ], | 58 ], |
53 }, | 59 }, |
54 | 60 |
55 # The main GCM unit tests. | 61 # The main GCM unit tests. |
56 { | 62 { |
57 'target_name': 'gcm_unit_tests', | 63 'target_name': 'gcm_unit_tests', |
58 'type': '<(gtest_target_type)', | 64 'type': '<(gtest_target_type)', |
59 'variables': { 'enable_wexit_time_destructors': 1, }, | 65 'variables': { 'enable_wexit_time_destructors': 1, }, |
60 'include_dirs': [ | 66 'include_dirs': [ |
61 '../..', | 67 '../..', |
62 ], | 68 ], |
63 'dependencies': [ | 69 'dependencies': [ |
64 '../../base/base.gyp:run_all_unittests', | 70 '../../base/base.gyp:run_all_unittests', |
65 '../../base/base.gyp:base', | 71 '../../base/base.gyp:base', |
| 72 '../../components/components.gyp:encryptor', |
66 '../../net/net.gyp:net_test_support', | 73 '../../net/net.gyp:net_test_support', |
67 '../../testing/gtest.gyp:gtest', | 74 '../../testing/gtest.gyp:gtest', |
68 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', | 75 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', |
69 'gcm' | 76 'gcm' |
70 ], | 77 ], |
71 'sources': [ | 78 'sources': [ |
72 'base/mcs_util_unittest.cc', | 79 'base/mcs_util_unittest.cc', |
73 'base/socket_stream_unittest.cc', | 80 'base/socket_stream_unittest.cc', |
74 'engine/connection_handler_unittest.cc', | 81 'engine/connection_handler_unittest.cc', |
| 82 'engine/rmq_store_unittest.cc', |
75 ] | 83 ] |
76 }, | 84 }, |
77 ], | 85 ], |
78 } | 86 } |
OLD | NEW |