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

Unified Diff: components/webmessaging/webmessaging.gyp

Issue 2004643002: Implement BroadcastChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 6 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..f09661ac614ce6f920f9077271785db1d953bb35
--- /dev/null
+++ b/components/webmessaging/webmessaging.gyp
@@ -0,0 +1,69 @@
+# 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': [
+ 'public/interfaces/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)' ],
+ 'dependencies': [
+ '../../url/url.gyp:url_mojom',
+ ],
+ 'export_dependent_settings': [
+ '../../url/url.gyp:url_mojom',
+ ],
+ 'variables': {
+ 'mojom_typemaps': [
+ '../../url/mojo/gurl.typemap',
+ '../../url/mojo/origin.typemap',
+ ],
+ },
+ 'includes': [
+ '../../mojo/mojom_bindings_generator.gypi',
+ ],
+ },
+ {
+ 'target_name': 'webmessaging_mojo_bindings_for_blink',
+ 'type': 'static_library',
+ 'sources': [ '<@(mojom_files)' ],
+ 'dependencies': [
+ '../../url/url.gyp:url_mojom_for_blink',
+ ],
+ 'export_dependent_settings': [
+ '../../url/url.gyp:url_mojom_for_blink',
+ ],
+ 'variables': {
+ 'for_blink': 'true',
+ 'mojom_typemaps': [
+ '../../third_party/WebKit/Source/platform/mojo/KURL.typemap',
+ '../../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap',
+ ],
+ },
+ 'includes': [
+ '../../mojo/mojom_bindings_generator.gypi',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698