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

Unified Diff: components/webmessaging/webmessaging.gyp

Issue 2004643002: Implement BroadcastChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: components/webmessaging/webmessaging.gyp
diff --git a/components/webmessaging/webmessaging.gyp b/components/webmessaging/webmessaging.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ab14a11923f4769a6c598f242b58aca5eabb7cdb
--- /dev/null
+++ b/components/webmessaging/webmessaging.gyp
@@ -0,0 +1,47 @@
+# Copyright 2016 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ 'mojom_files': [
+ 'broadcast_channel.mojom',
+ ],
+ },
+ 'targets': [
+ {
+ # GN version: //components/webmessaging/webmessaging
+ 'target_name': 'webmessaging',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'webmessaging_mojo_bindings',
+ '../../base/base.gyp:base',
+ '../../url/url.gyp:url_lib',
+ ],
+ 'sources': [
+ 'broadcast_channel_service.cc',
+ 'broadcast_channel_service.h',
+ ],
+ },
+ {
+ 'target_name': 'webmessaging_mojo_bindings',
+ 'type': 'static_library',
+ 'sources': [ '<@(mojom_files)' ],
+ 'includes': [
+ '../../mojo/mojom_bindings_generator.gypi',
+ ],
+ },
+ {
+ 'target_name': 'webmessaging_mojo_bindings_for_blink',
+ 'type': 'static_library',
+ 'sources': [ '<@(mojom_files)' ],
+ 'variables': {
+ 'for_blink': 'true',
+ },
+ 'includes': [
+ '../../mojo/mojom_bindings_generator.gypi',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698