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.
8 'target_name': 'copresence',
9 'type': 'static_library',
11 '../base/base.gyp:base',
12 '../content/content.gyp:content_common',
13 '../media/media.gyp:media',
14 '../media/media.gyp:shared_memory_support',
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',
48 'export_dependent_settings': [
53 'target_name': 'copresence_test_support',
54 'type': 'static_library',
59 'copresence/test/audio_test_support.cc',
60 'copresence/test/audio_test_support.h',
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',
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',
79 'proto_in_dir': 'copresence/proto',
80 'proto_out_dir': 'components/copresence/proto',
82 'includes': [ '../build/protoc.gypi' ]