Roll src/third_party/skia 33e6466:43b8b36
[chromium-blink-merge.git] / components / copresence.gypi
blob6ecd70091e66c5b1fc875898941e860d16dc5b21
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.cc',
25         'copresence/copresence_manager_impl.cc',
26         'copresence/copresence_switches.cc',
27         'copresence/copresence_switches.h',
28         'copresence/handlers/audio/audio_directive_handler.cc',
29         'copresence/handlers/audio/audio_directive_handler.h',
30         'copresence/handlers/audio/audio_directive_list.cc',
31         'copresence/handlers/audio/audio_directive_list.h',
32         'copresence/handlers/directive_handler.cc',
33         'copresence/handlers/directive_handler.h',
34         'copresence/mediums/audio/audio_player.cc',
35         'copresence/mediums/audio/audio_player.h',
36         'copresence/mediums/audio/audio_recorder.cc',
37         'copresence/mediums/audio/audio_recorder.h',
38         'copresence/public/copresence_constants.h',
39         'copresence/public/copresence_delegate.h',
40         'copresence/public/copresence_manager.h',
41         'copresence/public/whispernet_client.h',
42         'copresence/rpc/http_post.cc',
43         'copresence/rpc/http_post.h',
44         'copresence/rpc/rpc_handler.cc',
45         'copresence/rpc/rpc_handler.h',
46         'copresence/timed_map.h',
47       ],
48       'export_dependent_settings': [
49         'copresence_proto',
50       ],
51     },
52     {
53       'target_name': 'copresence_test_support',
54       'type': 'static_library',
55       'include_dirs': [
56         '..',
57       ],
58       'sources': [
59         'copresence/test/audio_test_support.cc',
60         'copresence/test/audio_test_support.h',
61       ],
62     },
63     {
64       # Protobuf compiler / generate rule for copresence.
65       # GN version: //components/copresence/proto
66       # Note: These protos are auto-generated from the protos of the
67       # Copresence server. Currently this strips all formatting and comments
68       # but makes sure that we are always using up to date protos.
69       'target_name': 'copresence_proto',
70       'type': 'static_library',
71       'sources': [
72         'copresence/proto/codes.proto',
73         'copresence/proto/data.proto',
74         'copresence/proto/enums.proto',
75         'copresence/proto/identity.proto',
76         'copresence/proto/rpcs.proto',
77       ],
78       'variables': {
79         'proto_in_dir': 'copresence/proto',
80         'proto_out_dir': 'components/copresence/proto',
81       },
82       'includes': [ '../build/protoc.gypi' ]
83     },
84   ],