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" ] |
+} |