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

Unified Diff: mojo/public/cpp/bindings/BUILD.gn

Issue 1751563002: Mojo C++ bindings: support mapping mojo string to WTF::String. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync & rebase 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: mojo/public/cpp/bindings/BUILD.gn
diff --git a/mojo/public/cpp/bindings/BUILD.gn b/mojo/public/cpp/bindings/BUILD.gn
index 0486a52cbb5188ad2af82eefd4cc126356562e55..1939ff6607c4dac38eb0de24f130877badcbccbd 100644
--- a/mojo/public/cpp/bindings/BUILD.gn
+++ b/mojo/public/cpp/bindings/BUILD.gn
@@ -81,6 +81,10 @@ source_set("bindings") {
"lib/validation_util.cc",
"lib/validation_util.h",
"lib/value_traits.h",
+
+ # Include the .h but not the .cc file. The .h file is used by
+ # serialization_forward.h.
+ "lib/wtf_string_serialization.h",
"map.h",
"message.h",
"message_filter.h",
@@ -120,3 +124,18 @@ source_set("callback") {
"//mojo/public/cpp/system",
]
}
+
+source_set("wtf_support") {
+ sources = [
+ "lib/wtf_serialization.h",
+ "lib/wtf_string_serialization.cc",
+ "lib/wtf_string_serialization.h",
+ ]
+
+ public_deps = [
+ ":bindings",
+ "//third_party/WebKit/Source/wtf",
+ ]
+
+ public_configs = [ "//third_party/WebKit/Source:config" ]
+}

Powered by Google App Engine
This is Rietveld 408576698