Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1529)

Unified Diff: components/copresence.gypi

Issue 426093003: Add the copresence component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components.gyp ('k') | components/copresence/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence.gypi
diff --git a/components/copresence.gypi b/components/copresence.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..98b2dc1bb96f6ec1a0fe593be614ffdf14074c94
--- /dev/null
+++ b/components/copresence.gypi
@@ -0,0 +1,52 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'copresence',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../net/net.gyp:net',
+ 'copresence_proto',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'copresence/copresence_client.cc',
+ 'copresence/public/copresence_client_delegate.h',
+ 'copresence/public/copresence_client.h',
+ 'copresence/public/whispernet_client.h',
+ 'copresence/rpc/rpc_handler.cc',
+ 'copresence/rpc/rpc_handler.h',
+ ],
+ 'export_dependent_settings': [
+ 'copresence_proto',
+ ],
+ },
+ {
+ # Protobuf compiler / generate rule for copresence.
+ # GN version: //components/copresence/proto
+ # Note: These protos are auto-generated from the protos of the
+ # Copresence server. Currently this strips all formatting and comments
+ # but makes sure that we are always using up to date protos.
+ 'target_name': 'copresence_proto',
+ 'type': 'static_library',
+ 'sources': [
+ 'copresence/proto/codes.proto',
+ 'copresence/proto/data.proto',
+ 'copresence/proto/enums.proto',
+ 'copresence/proto/identity.proto',
+ 'copresence/proto/rpcs.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': 'copresence/proto',
+ 'proto_out_dir': 'components/copresence/proto',
+ },
+ 'includes': [ '../build/protoc.gypi' ]
+ },
+ ],
+}
« no previous file with comments | « components/components.gyp ('k') | components/copresence/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698