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