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 }, |
| 43 'includes': [ |
| 44 '../mojo/mojom_bindings_generator.gypi', |
| 45 ], |
| 46 }, |
| 47 { |
| 48 'target_name': 'webmessaging_mojo_bindings_for_blink', |
| 49 'type': 'static_library', |
| 50 'sources': [ '<@(mojom_files)' ], |
| 51 'dependencies': [ |
| 52 '../url/url.gyp:url_mojom_for_blink', |
| 53 ], |
| 54 'export_dependent_settings': [ |
| 55 '../url/url.gyp:url_mojom_for_blink', |
| 56 ], |
| 57 'variables': { |
| 58 'for_blink': 'true', |
| 59 'mojom_typemaps': [ |
| 60 '../third_party/WebKit/Source/platform/mojo/KURL.typemap', |
| 61 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap', |
| 62 ], |
| 63 }, |
| 64 'includes': [ |
| 65 '../mojo/mojom_bindings_generator.gypi', |
| 66 ], |
| 67 }, |
| 68 ], |
| 69 } |
OLD | NEW |