OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'copresence', | |
9 'type': 'static_library', | |
10 'dependencies': [ | |
11 '../base/base.gyp:base', | |
12 '../net/net.gyp:net', | |
13 'copresence_proto', | |
14 ], | |
15 'include_dirs': [ | |
16 '..', | |
17 ], | |
18 'defines': [ | |
jochen (gone - plz use gerrit)
2014/07/30 09:29:00
nit. remove empty blocks
rkc
2014/07/30 10:16:45
I was following what feedback.gypi had, so thought
| |
19 ], | |
20 'sources': [ | |
21 'copresence/copresence_client.cc', | |
22 'copresence/copresence_client.h', | |
23 'copresence/interface/copresence_delegate.h', | |
24 'copresence/interface/whispernet_client.h', | |
25 'copresence/rpc/rpc_handler.cc', | |
26 'copresence/rpc/rpc_handler.h', | |
27 ], | |
28 'export_dependent_settings': [ | |
29 'copresence_proto', | |
30 ], | |
31 }, | |
32 { | |
33 # Protobuf compiler / generate rule for copresence. | |
34 # GN version: //components/copresence/proto | |
35 # Note: These protos are auto-generated from the protos of the | |
36 # Copresence server. Currently this strips all formatting and comments | |
37 # but makes sure that we are always using up to date protos. | |
38 'target_name': 'copresence_proto', | |
39 'type': 'static_library', | |
40 'sources': [ | |
41 'copresence/proto/codes.proto', | |
42 'copresence/proto/data.proto', | |
43 'copresence/proto/enums.proto', | |
44 'copresence/proto/identity.proto', | |
45 'copresence/proto/rpcs.proto', | |
46 ], | |
47 'variables': { | |
48 'proto_in_dir': 'copresence/proto', | |
49 'proto_out_dir': 'components/copresence/proto', | |
50 }, | |
51 'includes': [ '../build/protoc.gypi' ] | |
52 }, | |
53 ], | |
54 } | |
OLD | NEW |