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', |
+ ], |
+ }, |
+ ], |
+} |