| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 'mojom_files': [ | |
| 9 'webmessaging/public/interfaces/broadcast_channel.mojom', | |
| 10 ], | |
| 11 }, | |
| 12 'targets': [ | |
| 13 { | |
| 14 # GN version: //components/webmessaging/webmessaging | |
| 15 'target_name': 'webmessaging', | |
| 16 'type': 'static_library', | |
| 17 'dependencies': [ | |
| 18 'webmessaging_mojo_bindings', | |
| 19 '../base/base.gyp:base', | |
| 20 '../url/url.gyp:url_lib', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 'webmessaging/broadcast_channel_provider.cc', | |
| 24 'webmessaging/broadcast_channel_provider.h', | |
| 25 ], | |
| 26 }, | |
| 27 { | |
| 28 'target_name': 'webmessaging_mojo_bindings', | |
| 29 'type': 'static_library', | |
| 30 'sources': [ '<@(mojom_files)' ], | |
| 31 'dependencies': [ | |
| 32 '../url/url.gyp:url_mojom', | |
| 33 ], | |
| 34 'export_dependent_settings': [ | |
| 35 '../url/url.gyp:url_mojom', | |
| 36 ], | |
| 37 'variables': { | |
| 38 'mojom_typemaps': [ | |
| 39 '../url/mojo/gurl.typemap', | |
| 40 '../url/mojo/origin.typemap', | |
| 41 ], | |
| 42 'use_new_wrapper_types': 'false', | |
| 43 }, | |
| 44 'includes': [ | |
| 45 '../mojo/mojom_bindings_generator.gypi', | |
| 46 ], | |
| 47 }, | |
| 48 { | |
| 49 'target_name': 'webmessaging_mojo_bindings_for_blink', | |
| 50 'type': 'static_library', | |
| 51 'sources': [ '<@(mojom_files)' ], | |
| 52 'dependencies': [ | |
| 53 '../url/url.gyp:url_mojom_for_blink', | |
| 54 ], | |
| 55 'export_dependent_settings': [ | |
| 56 '../url/url.gyp:url_mojom_for_blink', | |
| 57 ], | |
| 58 'variables': { | |
| 59 'for_blink': 'true', | |
| 60 'mojom_typemaps': [ | |
| 61 '../third_party/WebKit/Source/platform/mojo/KURL.typemap', | |
| 62 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap', | |
| 63 ], | |
| 64 'use_new_wrapper_types': 'false', | |
| 65 }, | |
| 66 'includes': [ | |
| 67 '../mojo/mojom_bindings_generator.gypi', | |
| 68 ], | |
| 69 }, | |
| 70 ], | |
| 71 } | |
| OLD | NEW |