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 source_set("copresence") { | 5 source_set("copresence") { |
6 sources = [ | 6 sources = [ |
7 "copresence_manager_impl.cc", | 7 "copresence_manager_impl.cc", |
8 "copresence_state_impl.cc", | 8 "copresence_state_impl.cc", |
9 "copresence_state_impl.h", | 9 "copresence_state_impl.h", |
10 "copresence_switches.cc", | 10 "copresence_switches.cc", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } | 50 } |
51 | 51 |
52 source_set("test_support") { | 52 source_set("test_support") { |
53 testonly = true | 53 testonly = true |
54 sources = [ | 54 sources = [ |
55 "test/fake_directive_handler.cc", | 55 "test/fake_directive_handler.cc", |
56 "test/fake_directive_handler.h", | 56 "test/fake_directive_handler.h", |
57 ] | 57 ] |
58 public_deps = [ | 58 public_deps = [ |
59 ":copresence", | 59 ":copresence", |
| 60 "//base", |
60 "//components/copresence/proto", | 61 "//components/copresence/proto", |
61 ] | 62 ] |
62 } | 63 } |
63 | 64 |
64 source_set("unit_tests") { | 65 source_set("unit_tests") { |
65 testonly = true | 66 testonly = true |
66 sources = [ | 67 sources = [ |
67 "copresence_state_unittest.cc", | 68 "copresence_state_unittest.cc", |
68 "handlers/audio/audio_directive_handler_unittest.cc", | 69 "handlers/audio/audio_directive_handler_unittest.cc", |
69 "handlers/audio/audio_directive_list_unittest.cc", | 70 "handlers/audio/audio_directive_list_unittest.cc", |
70 "handlers/directive_handler_unittest.cc", | 71 "handlers/directive_handler_unittest.cc", |
71 "handlers/gcm_handler_unittest.cc", | 72 "handlers/gcm_handler_unittest.cc", |
72 "rpc/http_post_unittest.cc", | 73 "rpc/http_post_unittest.cc", |
73 "rpc/rpc_handler_unittest.cc", | 74 "rpc/rpc_handler_unittest.cc", |
74 "timed_map_unittest.cc", | 75 "timed_map_unittest.cc", |
75 ] | 76 ] |
76 deps = [ | 77 deps = [ |
77 ":test_support", | 78 ":test_support", |
78 "//base", | 79 "//base", |
79 "//base/test:test_support", | 80 "//base/test:test_support", |
80 "//components/audio_modem:test_support", | 81 "//components/audio_modem:test_support", |
81 "//components/copresence/proto", | 82 "//components/copresence/proto", |
82 "//components/gcm_driver:test_support", | 83 "//components/gcm_driver:test_support", |
83 "//net:test_support", | 84 "//net:test_support", |
84 "//testing/gmock", | 85 "//testing/gmock", |
85 "//testing/gtest", | 86 "//testing/gtest", |
86 ] | 87 ] |
87 } | 88 } |
OLD | NEW |