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',
13 '../third_party/webrtc/common_audio/common_audio.gyp:common_audio',
21 # Note: sources list duplicated in GN build.
22 'copresence/copresence_manager_impl.cc',
23 'copresence/copresence_state_impl.cc',
24 'copresence/copresence_state_impl.h',
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/public/copresence_constants.h',
41 'copresence/public/copresence_delegate.h',
42 'copresence/public/copresence_manager.h',
43 'copresence/public/copresence_observer.h',
44 'copresence/public/copresence_state.h',
45 'copresence/rpc/http_post.cc',
46 'copresence/rpc/http_post.h',
47 'copresence/rpc/rpc_handler.cc',
48 'copresence/rpc/rpc_handler.h',
49 'copresence/timed_map.h',
50 'copresence/tokens.cc',
51 'copresence/tokens.h',
53 'export_dependent_settings': [
58 'target_name': 'copresence_test_support',
59 'type': 'static_library',
67 'copresence/test/fake_directive_handler.cc',
68 'copresence/test/fake_directive_handler.h',
70 'export_dependent_settings': [
75 # Protobuf compiler / generate rule for copresence.
76 # GN version: //components/copresence/proto
77 # Note: These protos are auto-generated from the protos of the
78 # Copresence server. Currently this strips all formatting and comments
79 # but makes sure that we are always using up to date protos.
80 'target_name': 'copresence_proto',
81 'type': 'static_library',
83 'copresence/proto/codes.proto',
84 'copresence/proto/config_data.proto',
85 'copresence/proto/data.proto',
86 'copresence/proto/enums.proto',
87 'copresence/proto/identity.proto',
88 'copresence/proto/push_message.proto',
89 'copresence/proto/rpcs.proto',
92 'proto_in_dir': 'copresence/proto',
93 'proto_out_dir': 'components/copresence/proto',
95 'includes': [ '../build/protoc.gypi' ]