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 'sources': [ |
| 19 'copresence/copresence_client.cc', |
| 20 'copresence/public/copresence_client_delegate.h', |
| 21 'copresence/public/copresence_client.h', |
| 22 'copresence/public/whispernet_client.h', |
| 23 'copresence/rpc/rpc_handler.cc', |
| 24 'copresence/rpc/rpc_handler.h', |
| 25 ], |
| 26 'export_dependent_settings': [ |
| 27 'copresence_proto', |
| 28 ], |
| 29 }, |
| 30 { |
| 31 # Protobuf compiler / generate rule for copresence. |
| 32 # GN version: //components/copresence/proto |
| 33 # Note: These protos are auto-generated from the protos of the |
| 34 # Copresence server. Currently this strips all formatting and comments |
| 35 # but makes sure that we are always using up to date protos. |
| 36 'target_name': 'copresence_proto', |
| 37 'type': 'static_library', |
| 38 'sources': [ |
| 39 'copresence/proto/codes.proto', |
| 40 'copresence/proto/data.proto', |
| 41 'copresence/proto/enums.proto', |
| 42 'copresence/proto/identity.proto', |
| 43 'copresence/proto/rpcs.proto', |
| 44 ], |
| 45 'variables': { |
| 46 'proto_in_dir': 'copresence/proto', |
| 47 'proto_out_dir': 'components/copresence/proto', |
| 48 }, |
| 49 'includes': [ '../build/protoc.gypi' ] |
| 50 }, |
| 51 ], |
| 52 } |
OLD | NEW |