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.
5 source_set("copresence") {
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",
41 "//components/audio_modem",
42 "//components/copresence/proto",
49 source_set("test_support") {
52 "test/fake_directive_handler.cc",
53 "test/fake_directive_handler.h",
57 "//components/copresence/proto",
61 source_set("unit_tests") {
64 "copresence_state_unittest.cc",
65 "handlers/audio/audio_directive_handler_unittest.cc",
66 "handlers/audio/audio_directive_list_unittest.cc",
67 "handlers/directive_handler_unittest.cc",
68 "handlers/gcm_handler_unittest.cc",
69 "rpc/http_post_unittest.cc",
70 "rpc/rpc_handler_unittest.cc",
71 "timed_map_unittest.cc",
75 "//components/audio_modem:test_support",
76 "//components/copresence/proto",