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

Unified Diff: components/webmessaging.gypi

Issue 2004643002: Implement BroadcastChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address dcheng's comments 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
« no previous file with comments | « components/components.gyp ('k') | components/webmessaging/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webmessaging.gypi
diff --git a/components/webmessaging.gypi b/components/webmessaging.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..1ea14fb5d2d14fc67fd44db2504d033fbd6fa931
--- /dev/null
+++ b/components/webmessaging.gypi
@@ -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': [
+ 'webmessaging/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': [
+ 'webmessaging/broadcast_channel_provider.cc',
+ 'webmessaging/broadcast_channel_provider.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',
+ ],
+ },
+ ],
+}
« no previous file with comments | « components/components.gyp ('k') | components/webmessaging/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698