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_impl.cc',
25 'copresence/copresence_switches.cc',
26 'copresence/copresence_switches.h',
27 'copresence/handlers/audio/audio_directive_handler.h',
28 'copresence/handlers/audio/audio_directive_handler_impl.cc',
29 'copresence/handlers/audio/audio_directive_handler_impl.h',
30 'copresence/handlers/audio/audio_directive_list.cc',
31 'copresence/handlers/audio/audio_directive_list.h',
32 'copresence/handlers/audio/tick_clock_ref_counted.cc',
33 'copresence/handlers/audio/tick_clock_ref_counted.h',
34 'copresence/handlers/directive_handler.h',
35 'copresence/handlers/directive_handler_impl.cc',
36 'copresence/handlers/directive_handler_impl.h',
37 'copresence/handlers/gcm_handler.h',
38 'copresence/handlers/gcm_handler_impl.cc',
39 'copresence/handlers/gcm_handler_impl.h',
40 'copresence/mediums/audio/audio_manager.h',
41 'copresence/mediums/audio/audio_manager_impl.cc',
42 'copresence/mediums/audio/audio_manager_impl.h',
43 'copresence/mediums/audio/audio_player.h',
44 'copresence/mediums/audio/audio_player_impl.cc',
45 'copresence/mediums/audio/audio_player_impl.h',
46 'copresence/mediums/audio/audio_recorder.h',
47 'copresence/mediums/audio/audio_recorder_impl.cc',
48 'copresence/mediums/audio/audio_recorder_impl.h',
49 'copresence/public/copresence_constants.h',
50 'copresence/public/copresence_delegate.h',
51 'copresence/public/copresence_manager.h',
52 'copresence/public/whispernet_client.h',
53 'copresence/rpc/http_post.cc',
54 'copresence/rpc/http_post.h',
55 'copresence/rpc/rpc_handler.cc',
56 'copresence/rpc/rpc_handler.h',
57 'copresence/timed_map.h',
59 'export_dependent_settings': [
64 'target_name': 'copresence_test_support',
65 'type': 'static_library',
73 'copresence/test/audio_test_support.cc',
74 'copresence/test/audio_test_support.h',
75 'copresence/test/fake_directive_handler.cc',
76 'copresence/test/fake_directive_handler.h',
77 'copresence/test/stub_whispernet_client.cc',
78 'copresence/test/stub_whispernet_client.h',
80 'export_dependent_settings': [
85 # Protobuf compiler / generate rule for copresence.
86 # GN version: //components/copresence/proto
87 # Note: These protos are auto-generated from the protos of the
88 # Copresence server. Currently this strips all formatting and comments
89 # but makes sure that we are always using up to date protos.
90 'target_name': 'copresence_proto',
91 'type': 'static_library',
93 'copresence/proto/codes.proto',
94 'copresence/proto/data.proto',
95 'copresence/proto/enums.proto',
96 'copresence/proto/identity.proto',
97 'copresence/proto/push_message.proto',
98 'copresence/proto/rpcs.proto',
101 'proto_in_dir': 'copresence/proto',
102 'proto_out_dir': 'components/copresence/proto',
104 'includes': [ '../build/protoc.gypi' ]