Index: third_party/WebKit/public/BUILD.gn |
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn |
index 90bb886182de1b4ea2292ec5b0d67ef4f07613df..66d76eeda4d85af410ca9ac645d5689d14ca0eb3 100644 |
--- a/third_party/WebKit/public/BUILD.gn |
+++ b/third_party/WebKit/public/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//mojo/public/tools/bindings/mojom.gni") |
import("//third_party/WebKit/Source/config.gni") |
import("//tools/grit/grit_rule.gni") |
@@ -19,6 +20,7 @@ group("blink") { |
public_deps = [ |
":blink_headers", |
":blink_minimal", |
+ ":mojo_bindings", |
"//third_party/WebKit/Source/platform", |
"//third_party/WebKit/Source/web", |
@@ -38,6 +40,13 @@ group("blink_for_unittests") { |
] |
} |
+mojom("mojo_bindings") { |
+ sources = [ |
+ "platform/modules/geolocation/geolocation.mojom", |
+ "platform/modules/permissions/permission.mojom", |
+ ] |
+} |
+ |
# This target provides a minimal set of Blink APIs such as WebString to use in |
# places that cannot link against the full Blink library. FIXME: We really |
# shouldn't have this at all and should instead remove all uses of Blink's API |