OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//third_party/WebKit/Source/config.gni") | 6 import("//third_party/WebKit/Source/config.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 | 8 |
9 blink_headers_values = exec_script("//build/gypi_to_gn.py", | 9 blink_headers_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("blink_headers.gypi") ], | 10 [ rebase_path("blink_headers.gypi") ], |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 output_dir = "$root_gen_dir/blink/public/resources" | 167 output_dir = "$root_gen_dir/blink/public/resources" |
168 use_qualified_include = true | 168 use_qualified_include = true |
169 source = "blink_image_resources.grd" | 169 source = "blink_image_resources.grd" |
170 outputs = [ | 170 outputs = [ |
171 "grit/blink_image_resources.h", | 171 "grit/blink_image_resources.h", |
172 "blink_image_resources_100_percent.pak", | 172 "blink_image_resources_100_percent.pak", |
173 "blink_image_resources_200_percent.pak", | 173 "blink_image_resources_200_percent.pak", |
174 ] | 174 ] |
175 } | 175 } |
176 | 176 |
| 177 mojom("mojo_bindings_for_blink") { |
| 178 for_blink = true |
| 179 variant = "blink" |
| 180 sources = [ |
| 181 "platform/modules/bluetooth/web_bluetooth.mojom", |
| 182 "platform/modules/payments/payment_request.mojom", |
| 183 ] |
| 184 } |
| 185 |
177 mojom("mojo_bindings") { | 186 mojom("mojo_bindings") { |
178 sources = [ | 187 sources = [ |
179 "platform/modules/bluetooth/web_bluetooth.mojom", | 188 "platform/modules/bluetooth/web_bluetooth.mojom", |
| 189 "platform/modules/payments/payment_request.mojom", |
180 ] | 190 ] |
181 } | 191 } |
OLD | NEW |