Index: mojo/common/BUILD.gn |
diff --git a/mojo/common/BUILD.gn b/mojo/common/BUILD.gn |
index 428ee1ef48d019717e14ab2ebbf2e53eaf27b303..c3a551d4095aa5a335e2570ed452143fe77f0f72 100644 |
--- a/mojo/common/BUILD.gn |
+++ b/mojo/common/BUILD.gn |
@@ -60,6 +60,7 @@ test("mojo_common_unittests") { |
deps = [ |
":common", |
":common_custom_types", |
+ ":struct_traits", |
":test_common_custom_types", |
"//base", |
"//base:message_loop_tests", |
@@ -88,3 +89,20 @@ test("mojo_common_perftests") { |
"//testing/gtest", |
] |
} |
+ |
+group("struct_traits") { |
yzshen1
2016/09/01 00:02:54
Can we delete this target and rename the one below
xlai (Olivia)
2016/09/01 16:57:44
Done here and elsewhere.
|
+ public_deps = [ |
+ ":struct_traits_sources", |
+ ] |
+} |
+ |
+source_set("struct_traits_sources") { |
+ sources = [ |
+ "common_custom_types_struct_traits.cc", |
+ "common_custom_types_struct_traits.h", |
+ ] |
+ deps = [ |
+ ":common_custom_types_shared_cpp_sources", |
+ "//base:base", |
+ ] |
+} |