Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1146)

Unified Diff: third_party/WebKit/public/BUILD.gn

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698