| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 proto_library("proto") { | 60 proto_library("proto") { |
| 61 visibility = ":*" | 61 visibility = ":*" |
| 62 sources = [ | 62 sources = [ |
| 63 "protocol/android_checkin.proto", | 63 "protocol/android_checkin.proto", |
| 64 "protocol/checkin.proto", | 64 "protocol/checkin.proto", |
| 65 "protocol/mcs.proto", | 65 "protocol/mcs.proto", |
| 66 ] | 66 ] |
| 67 } | 67 } |
| 68 | 68 |
| 69 static_library("test_support") { | 69 static_library("test_support") { |
| 70 testonly = true |
| 70 sources = [ | 71 sources = [ |
| 71 "base/fake_encryptor.cc", | 72 "base/fake_encryptor.cc", |
| 72 "base/fake_encryptor.h", | 73 "base/fake_encryptor.h", |
| 73 "engine/fake_connection_factory.cc", | 74 "engine/fake_connection_factory.cc", |
| 74 "engine/fake_connection_factory.h", | 75 "engine/fake_connection_factory.h", |
| 75 "engine/fake_connection_handler.cc", | 76 "engine/fake_connection_handler.cc", |
| 76 "engine/fake_connection_handler.h", | 77 "engine/fake_connection_handler.h", |
| 77 "monitoring/fake_gcm_stats_recorder.cc", | 78 "monitoring/fake_gcm_stats_recorder.cc", |
| 78 "monitoring/fake_gcm_stats_recorder.h", | 79 "monitoring/fake_gcm_stats_recorder.h", |
| 79 ] | 80 ] |
| 80 | 81 |
| 81 deps = [ | 82 deps = [ |
| 82 ":gcm", | 83 ":gcm", |
| 83 "//base", | 84 "//base", |
| 84 "//testing/gtest", | 85 "//testing/gtest", |
| 85 ] | 86 ] |
| 86 | 87 |
| 87 forward_dependent_configs_from = [ ":gcm" ] | 88 forward_dependent_configs_from = [ ":gcm" ] |
| 88 } | 89 } |
| 89 | 90 |
| 90 # A standalone MCS (mobile connection server) client. | 91 # A standalone MCS (mobile connection server) client. |
| 91 executable("mcs_probe") { | 92 executable("mcs_probe") { |
| 93 testonly = true |
| 92 sources = [ | 94 sources = [ |
| 93 "tools/mcs_probe.cc", | 95 "tools/mcs_probe.cc", |
| 94 ] | 96 ] |
| 95 | 97 |
| 96 deps = [ | 98 deps = [ |
| 97 ":gcm", | 99 ":gcm", |
| 98 ":proto", | 100 ":proto", |
| 99 ":test_support", | 101 ":test_support", |
| 100 "//base", | 102 "//base", |
| 101 "//net", | 103 "//net", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 123 deps = [ | 125 deps = [ |
| 124 ":proto", | 126 ":proto", |
| 125 ":test_support", | 127 ":test_support", |
| 126 "//base", | 128 "//base", |
| 127 "//base/test:run_all_unittests", | 129 "//base/test:run_all_unittests", |
| 128 "//net", | 130 "//net", |
| 129 "//net:test_support", | 131 "//net:test_support", |
| 130 "//testing/gtest", | 132 "//testing/gtest", |
| 131 ] | 133 ] |
| 132 } | 134 } |
| OLD | NEW |