Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / components / copresence / BUILD.gn
blob9fa25d86b762b3b437f4f60191df528132538593
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") {
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   ]
39   deps = [
40     "//base",
41     "//components/audio_modem",
42     "//components/copresence/proto",
43     "//content",
44     "//media",
45     "//net",
46   ]
49 source_set("test_support") {
50   testonly = true
51   sources = [
52     "test/fake_directive_handler.cc",
53     "test/fake_directive_handler.h",
54   ]
55   public_deps = [
56     ":copresence",
57     "//components/copresence/proto",
58   ]
61 source_set("unit_tests") {
62   testonly = true
63   sources = [
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",
72   ]
73   deps = [
74     ":test_support",
75     "//components/audio_modem:test_support",
76     "//components/copresence/proto",
77     "//testing/gtest",
78     "//testing/gmock",
79   ]