OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'copresence', | 8 'target_name': 'copresence', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 }, | 58 }, |
59 { | 59 { |
60 'target_name': 'copresence_test_support', | 60 'target_name': 'copresence_test_support', |
61 'type': 'static_library', | 61 'type': 'static_library', |
62 'include_dirs': [ | 62 'include_dirs': [ |
63 '..', | 63 '..', |
64 ], | 64 ], |
65 'sources': [ | 65 'sources': [ |
66 'copresence/test/audio_test_support.cc', | 66 'copresence/test/audio_test_support.cc', |
67 'copresence/test/audio_test_support.h', | 67 'copresence/test/audio_test_support.h', |
| 68 'copresence/test/stub_whispernet_client.cc', |
| 69 'copresence/test/stub_whispernet_client.h', |
68 ], | 70 ], |
69 }, | 71 }, |
70 { | 72 { |
71 # Protobuf compiler / generate rule for copresence. | 73 # Protobuf compiler / generate rule for copresence. |
72 # GN version: //components/copresence/proto | 74 # GN version: //components/copresence/proto |
73 # Note: These protos are auto-generated from the protos of the | 75 # Note: These protos are auto-generated from the protos of the |
74 # Copresence server. Currently this strips all formatting and comments | 76 # Copresence server. Currently this strips all formatting and comments |
75 # but makes sure that we are always using up to date protos. | 77 # but makes sure that we are always using up to date protos. |
76 'target_name': 'copresence_proto', | 78 'target_name': 'copresence_proto', |
77 'type': 'static_library', | 79 'type': 'static_library', |
78 'sources': [ | 80 'sources': [ |
79 'copresence/proto/codes.proto', | 81 'copresence/proto/codes.proto', |
80 'copresence/proto/data.proto', | 82 'copresence/proto/data.proto', |
81 'copresence/proto/enums.proto', | 83 'copresence/proto/enums.proto', |
82 'copresence/proto/identity.proto', | 84 'copresence/proto/identity.proto', |
83 'copresence/proto/rpcs.proto', | 85 'copresence/proto/rpcs.proto', |
84 ], | 86 ], |
85 'variables': { | 87 'variables': { |
86 'proto_in_dir': 'copresence/proto', | 88 'proto_in_dir': 'copresence/proto', |
87 'proto_out_dir': 'components/copresence/proto', | 89 'proto_out_dir': 'components/copresence/proto', |
88 }, | 90 }, |
89 'includes': [ '../build/protoc.gypi' ] | 91 'includes': [ '../build/protoc.gypi' ] |
90 }, | 92 }, |
91 ], | 93 ], |
92 } | 94 } |
OLD | NEW |