Chromium Code Reviews| Index: mojo/public/cpp/bindings/tests/struct_with_traits.typemap |
| diff --git a/mojo/public/cpp/bindings/tests/struct_with_traits.typemap b/mojo/public/cpp/bindings/tests/struct_with_traits.typemap |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cbaf7d482d0db6f439ff9b7b058555fcb757d770 |
| --- /dev/null |
| +++ b/mojo/public/cpp/bindings/tests/struct_with_traits.typemap |
| @@ -0,0 +1,15 @@ |
| +# Copyright 2015 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. |
| + |
| +mojom = "//mojo/public/interfaces/bindings/tests/struct_with_traits.mojom" |
| +public_headers = |
| + [ "//mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" ] |
| +traits_headers = |
| + [ "//mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h" ] |
| +sources = [ |
| + "//mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc", |
|
yzshen1
2016/04/05 17:36:14
Is "struct_with_triats_impl.cc" missing?
Do we nee
Sam McNally
2016/04/06 07:02:53
The typemap should have:
- deps for the native typ
yzshen1
2016/04/06 16:00:47
Can |sources| in case #1 be compiled into one of t
Sam McNally
2016/04/07 00:19:43
No, the sources in #1 depend on the generated mojo
yzshen1
2016/04/08 19:58:25
Of course. :) Thanks for explaining.
|
| +] |
| + |
| +type_mappings = |
| + [ "mojo.test.StructWithTraits=mojo::test::StructWithTraitsImpl" ] |