| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 | 6 |
| 7 component("gcm") { | 7 component("gcm") { |
| 8 sources = [ | 8 sources = [ |
| 9 "base/mcs_message.cc", | 9 "base/mcs_message.cc", |
| 10 "base/mcs_message.h", | 10 "base/mcs_message.h", |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 88 } |
| 89 | 89 |
| 90 # A standalone MCS (mobile connection server) client. | 90 # A standalone MCS (mobile connection server) client. |
| 91 executable("mcs_probe") { | 91 executable("mcs_probe") { |
| 92 sources = [ | 92 sources = [ |
| 93 "tools/mcs_probe.cc", | 93 "tools/mcs_probe.cc", |
| 94 ] | 94 ] |
| 95 | 95 |
| 96 deps = [ | 96 deps = [ |
| 97 ":gcm", | 97 ":gcm", |
| 98 ":proto", |
| 98 ":test_support", | 99 ":test_support", |
| 99 "//base", | 100 "//base", |
| 100 "//net", | 101 "//net", |
| 101 "//net:test_support", | 102 "//net:test_support", |
| 102 ] | 103 ] |
| 103 } | 104 } |
| 104 | 105 |
| 105 test("gcm_unit_tests") { | 106 test("gcm_unit_tests") { |
| 106 sources = [ | 107 sources = [ |
| 107 "base/mcs_message_unittest.cc", | 108 "base/mcs_message_unittest.cc", |
| 108 "base/mcs_util_unittest.cc", | 109 "base/mcs_util_unittest.cc", |
| 109 "base/socket_stream_unittest.cc", | 110 "base/socket_stream_unittest.cc", |
| 110 "engine/account_mapping_unittest.cc", | 111 "engine/account_mapping_unittest.cc", |
| 111 "engine/checkin_request_unittest.cc", | 112 "engine/checkin_request_unittest.cc", |
| 112 "engine/connection_factory_impl_unittest.cc", | 113 "engine/connection_factory_impl_unittest.cc", |
| 113 "engine/connection_handler_impl_unittest.cc", | 114 "engine/connection_handler_impl_unittest.cc", |
| 114 "engine/gcm_store_impl_unittest.cc", | 115 "engine/gcm_store_impl_unittest.cc", |
| 115 "engine/gservices_settings_unittest.cc", | 116 "engine/gservices_settings_unittest.cc", |
| 116 "engine/heartbeat_manager_unittest.cc", | 117 "engine/heartbeat_manager_unittest.cc", |
| 117 "engine/mcs_client_unittest.cc", | 118 "engine/mcs_client_unittest.cc", |
| 118 "engine/registration_request_unittest.cc", | 119 "engine/registration_request_unittest.cc", |
| 119 "engine/unregistration_request_unittest.cc", | 120 "engine/unregistration_request_unittest.cc", |
| 120 ] | 121 ] |
| 121 | 122 |
| 122 deps = [ | 123 deps = [ |
| 124 ":proto", |
| 123 ":test_support", | 125 ":test_support", |
| 124 "//base", | 126 "//base", |
| 125 "//base/test:run_all_unittests", | 127 "//base/test:run_all_unittests", |
| 126 "//net", | 128 "//net", |
| 127 "//net:test_support", | 129 "//net:test_support", |
| 128 "//testing/gtest", | 130 "//testing/gtest", |
| 129 ] | 131 ] |
| 130 } | 132 } |
| OLD | NEW |