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_state_impl.cc',
26 'copresence/copresence_state_impl.h',
27 'copresence/copresence_switches.cc',
28 'copresence/copresence_switches.h',
29 'copresence/handlers/audio/audio_directive_handler.h',
30 'copresence/handlers/audio/audio_directive_handler_impl.cc',
31 'copresence/handlers/audio/audio_directive_handler_impl.h',
32 'copresence/handlers/audio/audio_directive_list.cc',
33 'copresence/handlers/audio/audio_directive_list.h',
34 'copresence/handlers/audio/tick_clock_ref_counted.cc',
35 'copresence/handlers/audio/tick_clock_ref_counted.h',
36 'copresence/handlers/directive_handler.h',
37 'copresence/handlers/directive_handler_impl.cc',
38 'copresence/handlers/directive_handler_impl.h',
39 'copresence/handlers/gcm_handler.h',
40 'copresence/handlers/gcm_handler_impl.cc',
41 'copresence/handlers/gcm_handler_impl.h',
42 'copresence/mediums/audio/audio_manager.h',
43 'copresence/mediums/audio/audio_manager_impl.cc',
44 'copresence/mediums/audio/audio_manager_impl.h',
45 'copresence/mediums/audio/audio_player.h',
46 'copresence/mediums/audio/audio_player_impl.cc',
47 'copresence/mediums/audio/audio_player_impl.h',
48 'copresence/mediums/audio/audio_recorder.h',
49 'copresence/mediums/audio/audio_recorder_impl.cc',
50 'copresence/mediums/audio/audio_recorder_impl.h',
51 'copresence/public/copresence_constants.h',
52 'copresence/public/copresence_delegate.h',
53 'copresence/public/copresence_manager.h',
54 'copresence/public/copresence_observer.h',
55 'copresence/public/copresence_state.h',
56 'copresence/public/whispernet_client.h',
57 'copresence/rpc/http_post.cc',
58 'copresence/rpc/http_post.h',
59 'copresence/rpc/rpc_handler.cc',
60 'copresence/rpc/rpc_handler.h',
61 'copresence/timed_map.h',
62 'copresence/tokens.cc',
63 'copresence/tokens.h',
65 'export_dependent_settings': [
70 'target_name': 'copresence_test_support',
71 'type': 'static_library',
79 'copresence/test/audio_test_support.cc',
80 'copresence/test/audio_test_support.h',
81 'copresence/test/fake_directive_handler.cc',
82 'copresence/test/fake_directive_handler.h',
83 'copresence/test/stub_whispernet_client.cc',
84 'copresence/test/stub_whispernet_client.h',
86 'export_dependent_settings': [
91 # Protobuf compiler / generate rule for copresence.
92 # GN version: //components/copresence/proto
93 # Note: These protos are auto-generated from the protos of the
94 # Copresence server. Currently this strips all formatting and comments
95 # but makes sure that we are always using up to date protos.
96 'target_name': 'copresence_proto',
97 'type': 'static_library',
99 'copresence/proto/codes.proto',
100 'copresence/proto/config_data.proto',
101 'copresence/proto/data.proto',
102 'copresence/proto/enums.proto',
103 'copresence/proto/identity.proto',
104 'copresence/proto/push_message.proto',
105 'copresence/proto/rpcs.proto',
108 'proto_in_dir': 'copresence/proto',
109 'proto_out_dir': 'components/copresence/proto',
111 'includes': [ '../build/protoc.gypi' ]