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

Unified Diff: url/mojo/BUILD.gn

Issue 1760643004: Add mojo struct traits for GURL so that it can be sent over mojoms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 10 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: url/mojo/BUILD.gn
diff --git a/url/mojo/BUILD.gn b/url/mojo/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..6c1b174bbae369672c0e3bd3a6850de2c8c69747
--- /dev/null
+++ b/url/mojo/BUILD.gn
@@ -0,0 +1,36 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# 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")
+
+mojom("url_mojom") {
+ sources = [
+ "url.mojom",
+ ]
+}
+
+mojom("url_mojom_gurl") {
+ sources = [
+ "url.mojom",
+ ]
+
+ variant = "chromium"
+ typemaps = [ "gurl.typemap" ]
+
+ public_deps = [
+ ":url_mojom",
+ ]
+}
+
+mojom("test_url_mojom_gurl") {
+ sources = [
+ "url_test.mojom",
+ ]
+
+ typemaps = [ "gurl.typemap" ]
+
+ public_deps = [
+ ":url_mojom_gurl",
+ ]
+}
« no previous file with comments | « url/DEPS ('k') | url/mojo/DEPS » ('j') | url/mojo/url_gurl_struct_traits_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698