OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 source_set("copresence") { | |
6 sources = [ | |
7 "copresence_manager_impl.cc", | |
8 "copresence_state_impl.cc", | |
9 "copresence_state_impl.h", | |
10 "copresence_switches.cc", | |
11 "copresence_switches.h", | |
12 "handlers/audio/audio_directive_handler.h", | |
13 "handlers/audio/audio_directive_handler_impl.cc", | |
14 "handlers/audio/audio_directive_handler_impl.h", | |
15 "handlers/audio/audio_directive_list.cc", | |
16 "handlers/audio/audio_directive_list.h", | |
17 "handlers/audio/tick_clock_ref_counted.cc", | |
18 "handlers/audio/tick_clock_ref_counted.h", | |
19 "handlers/directive_handler.h", | |
20 "handlers/directive_handler_impl.cc", | |
21 "handlers/directive_handler_impl.h", | |
22 "handlers/gcm_handler.h", | |
23 "handlers/gcm_handler_impl.cc", | |
24 "handlers/gcm_handler_impl.h", | |
25 "public/copresence_constants.h", | |
26 "public/copresence_delegate.h", | |
27 "public/copresence_manager.h", | |
28 "public/copresence_observer.h", | |
29 "public/copresence_state.h", | |
30 "rpc/http_post.cc", | |
31 "rpc/http_post.h", | |
32 "rpc/rpc_handler.cc", | |
33 "rpc/rpc_handler.h", | |
34 "timed_map.h", | |
35 "tokens.cc", | |
36 "tokens.h", | |
37 ] | |
38 | |
39 deps = [ | |
40 "//base", | |
41 "//components/audio_modem", | |
42 "//components/copresence/proto", | |
43 "//components/gcm_driver", | |
44 "//google_apis", | |
45 "//media", | |
46 "//media:shared_memory_support", | |
47 "//net", | |
48 ] | |
49 } | |
50 | |
51 source_set("test_support") { | |
52 testonly = true | |
53 sources = [ | |
54 "test/fake_directive_handler.cc", | |
55 "test/fake_directive_handler.h", | |
56 ] | |
57 public_deps = [ | |
58 ":copresence", | |
59 "//base", | |
60 "//components/copresence/proto", | |
61 ] | |
62 } | |
63 | |
64 source_set("unit_tests") { | |
65 testonly = true | |
66 sources = [ | |
67 "copresence_state_unittest.cc", | |
68 "handlers/audio/audio_directive_handler_unittest.cc", | |
69 "handlers/audio/audio_directive_list_unittest.cc", | |
70 "handlers/directive_handler_unittest.cc", | |
71 "handlers/gcm_handler_unittest.cc", | |
72 "rpc/http_post_unittest.cc", | |
73 "rpc/rpc_handler_unittest.cc", | |
74 "timed_map_unittest.cc", | |
75 ] | |
76 deps = [ | |
77 ":test_support", | |
78 "//base", | |
79 "//base/test:test_support", | |
80 "//components/audio_modem:test_support", | |
81 "//components/copresence/proto", | |
82 "//components/gcm_driver:test_support", | |
83 "//net:test_support", | |
84 "//testing/gmock", | |
85 "//testing/gtest", | |
86 ] | |
87 } | |
OLD | NEW |