Desktop User Manager: Use new Material icons for "locked" and "supervised".
[chromium-blink-merge.git] / components / copresence.gypi
blobfc7820ce676ece3c9df564d502852d34e9274a55
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.
6   'targets': [
7     {
8       'target_name': 'copresence',
9       'type': 'static_library',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../content/content.gyp:content_common',
13         '../media/media.gyp:media',
14         '../media/media.gyp:shared_memory_support',
15         '../net/net.gyp:net',
16         'copresence_proto',
17       ],
18       'include_dirs': [
19         '..',
20       ],
21       'sources': [
22         # Note: sources list duplicated in GN build.
23         'copresence/copresence_constants.cc',
24         'copresence/copresence_manager_impl.cc',
25         'copresence/copresence_switches.cc',
26         'copresence/copresence_switches.h',
27         'copresence/handlers/audio/audio_directive_handler.cc',
28         'copresence/handlers/audio/audio_directive_handler.h',
29         'copresence/handlers/audio/audio_directive_list.cc',
30         'copresence/handlers/audio/audio_directive_list.h',
31         'copresence/handlers/audio/tick_clock_ref_counted.cc',
32         'copresence/handlers/audio/tick_clock_ref_counted.h',
33         'copresence/handlers/directive_handler.cc',
34         'copresence/handlers/directive_handler.h',
35         'copresence/mediums/audio/audio_manager.h',
36         'copresence/mediums/audio/audio_manager_impl.cc',
37         'copresence/mediums/audio/audio_manager_impl.h',
38         'copresence/mediums/audio/audio_player.h',
39         'copresence/mediums/audio/audio_player_impl.cc',
40         'copresence/mediums/audio/audio_player_impl.h',
41         'copresence/mediums/audio/audio_recorder.h',
42         'copresence/mediums/audio/audio_recorder_impl.cc',
43         'copresence/mediums/audio/audio_recorder_impl.h',
44         'copresence/public/copresence_constants.h',
45         'copresence/public/copresence_delegate.h',
46         'copresence/public/copresence_manager.h',
47         'copresence/public/whispernet_client.h',
48         'copresence/rpc/http_post.cc',
49         'copresence/rpc/http_post.h',
50         'copresence/rpc/rpc_handler.cc',
51         'copresence/rpc/rpc_handler.h',
52         'copresence/timed_map.h',
53       ],
54       'export_dependent_settings': [
55         'copresence_proto',
56       ],
57     },
58     {
59       'target_name': 'copresence_test_support',
60       'type': 'static_library',
61       'include_dirs': [
62         '..',
63       ],
64       'sources': [
65         'copresence/test/audio_test_support.cc',
66         'copresence/test/audio_test_support.h',
67       ],
68     },
69     {
70       # Protobuf compiler / generate rule for copresence.
71       # GN version: //components/copresence/proto
72       # Note: These protos are auto-generated from the protos of the
73       # Copresence server. Currently this strips all formatting and comments
74       # but makes sure that we are always using up to date protos.
75       'target_name': 'copresence_proto',
76       'type': 'static_library',
77       'sources': [
78         'copresence/proto/codes.proto',
79         'copresence/proto/data.proto',
80         'copresence/proto/enums.proto',
81         'copresence/proto/identity.proto',
82         'copresence/proto/rpcs.proto',
83       ],
84       'variables': {
85         'proto_in_dir': 'copresence/proto',
86         'proto_out_dir': 'components/copresence/proto',
87       },
88       'includes': [ '../build/protoc.gypi' ]
89     },
90   ],