| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 # | 29 # |
| 30 { | 30 { |
| 31 'includes': [ | 31 'includes': [ |
| 32 '../Source/build/features.gypi', | 32 '../Source/build/features.gypi', |
| 33 ], | 33 ], |
| 34 'variables': { |
| 35 'blink_mojo_sources': [ |
| 36 'platform/modules/bluetooth/web_bluetooth.mojom', |
| 37 'platform/modules/notifications/notification.mojom', |
| 38 ], |
| 39 }, |
| 34 'targets': [ | 40 'targets': [ |
| 35 { | 41 { |
| 36 # GN version: //third_party/WebKit/public:blink | 42 # GN version: //third_party/WebKit/public:blink |
| 37 'target_name': 'blink', | 43 'target_name': 'blink', |
| 38 'type': 'none', | 44 'type': 'none', |
| 39 'dependencies': [ | 45 'dependencies': [ |
| 40 'mojo_bindings', | 46 'mojo_bindings', |
| 41 '../Source/platform/blink_platform.gyp:blink_platform', | 47 '../Source/platform/blink_platform.gyp:blink_platform', |
| 42 '../Source/web/web.gyp:blink_web', | 48 '../Source/web/web.gyp:blink_web', |
| 43 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', | 49 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 'target_name': 'blink_test_support', | 81 'target_name': 'blink_test_support', |
| 76 'type': 'none', | 82 'type': 'none', |
| 77 'dependencies': [ | 83 'dependencies': [ |
| 78 '../Source/web/web.gyp:blink_web_test_support', | 84 '../Source/web/web.gyp:blink_web_test_support', |
| 79 ], | 85 ], |
| 80 'export_dependent_settings': [ | 86 'export_dependent_settings': [ |
| 81 '../Source/web/web.gyp:blink_web_test_support', | 87 '../Source/web/web.gyp:blink_web_test_support', |
| 82 ], | 88 ], |
| 83 }, | 89 }, |
| 84 { | 90 { |
| 91 # GN version: //third_party/WebKit/public:mojo_bindings_blink |
| 92 'target_name': 'mojo_bindings_blink_mojom', |
| 93 'type': 'none', |
| 94 'variables': { |
| 95 'mojom_files': ['<@(blink_mojo_sources)'], |
| 96 'mojom_variant': 'wtf', |
| 97 'for_blink': 'true', |
| 98 }, |
| 99 'includes': [ |
| 100 '../../../mojo/mojom_bindings_generator_explicit.gypi', |
| 101 ], |
| 102 }, |
| 103 { |
| 104 # GN version: //third_party/WebKit/public:mojo_bindings |
| 85 'target_name': 'mojo_bindings_mojom', | 105 'target_name': 'mojo_bindings_mojom', |
| 86 'type': 'none', | 106 'type': 'none', |
| 87 'variables': { | 107 'variables': { |
| 88 'mojom_files': [ | 108 'mojom_files': ['<@(blink_mojo_sources)'], |
| 89 'platform/modules/bluetooth/web_bluetooth.mojom', | |
| 90 'platform/modules/notifications/notification.mojom', | |
| 91 ], | |
| 92 }, | 109 }, |
| 93 'includes': [ | 110 'includes': [ |
| 94 '../../../mojo/mojom_bindings_generator_explicit.gypi', | 111 '../../../mojo/mojom_bindings_generator_explicit.gypi', |
| 95 ], | 112 ], |
| 96 }, | 113 }, |
| 97 { | 114 { |
| 98 'target_name': 'mojo_bindings', | 115 'target_name': 'mojo_bindings', |
| 99 'type': 'static_library', | 116 'type': 'static_library', |
| 100 'dependencies': [ | 117 'dependencies': [ |
| 101 'mojo_bindings_mojom', | 118 'mojo_bindings_blink_mojom', |
| 102 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 119 'mojo_bindings_mojom', |
| 120 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 103 ], | 121 ], |
| 104 }, | 122 }, |
| 105 ], | 123 ], |
| 106 } | 124 } |
| OLD | NEW |