Chromium Code Reviews| 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 # GYP version: WebKit/public/blink.gyp:mojo_bindings_blink_mojom | |
|
ortuno
2016/04/13 15:35:44
Do we still the target for the variant in blink.gy
Sam McNally
2016/04/14 03:27:42
This CL doesn't affect how the gyp mojom targets w
| |
| 178 mojom("mojo_bindings_blink") { | |
| 179 sources = [ | |
| 180 "platform/modules/bluetooth/web_bluetooth.mojom", | |
| 181 "platform/modules/geolocation/geolocation.mojom", | |
| 182 "platform/modules/notifications/notification.mojom", | |
| 183 "platform/modules/payments/payment_request.mojom", | |
| 184 "platform/modules/permissions/permission.mojom", | |
| 185 "platform/modules/permissions/permission_status.mojom", | |
| 186 ] | |
| 187 for_blink = true | |
| 188 variant = "wtf" | |
| 189 } | |
| 190 | |
| 191 # GYP version: WebKit/public/blink.gyp:mojo_bindings_mojom | 177 # GYP version: WebKit/public/blink.gyp:mojo_bindings_mojom |
| 192 mojom("mojo_bindings") { | 178 mojom("mojo_bindings") { |
| 193 sources = [ | 179 sources = [ |
| 194 "platform/modules/bluetooth/web_bluetooth.mojom", | 180 "platform/modules/bluetooth/web_bluetooth.mojom", |
| 195 "platform/modules/geolocation/geolocation.mojom", | 181 "platform/modules/geolocation/geolocation.mojom", |
| 196 "platform/modules/notifications/notification.mojom", | 182 "platform/modules/notifications/notification.mojom", |
| 197 "platform/modules/permissions/permission.mojom", | 183 "platform/modules/permissions/permission.mojom", |
| 198 "platform/modules/permissions/permission_status.mojom", | 184 "platform/modules/permissions/permission_status.mojom", |
| 199 ] | 185 ] |
| 186 public_deps = [ | |
| 187 ":android_mojo_bindings", | |
| 188 ] | |
| 200 } | 189 } |
| 201 | 190 |
| 202 if (is_android) { | 191 # GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java |
| 203 # GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java | 192 mojom("android_mojo_bindings") { |
| 204 mojom("android_mojo_bindings") { | 193 sources = [ |
| 205 sources = [ | 194 "platform/modules/payments/payment_request.mojom", |
| 206 "platform/modules/payments/payment_request.mojom", | 195 ] |
| 207 ] | |
| 208 } | |
| 209 } | 196 } |
| OLD | NEW |