aboutsummaryrefslogtreecommitdiff
path: root/mojo/public/cpp/bindings/tests/struct_with_traits.typemap
blob: da061deb75cf58772aa81994756f898a94f8db44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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",
]
deps = [
  "//mojo/public/cpp/bindings/tests:struct_with_traits_impl",
  "//mojo/public/cpp/system:system",
]

type_mappings = [
  "mojo.test.EnumWithTraits=mojo::test::EnumWithTraitsImpl",
  "mojo.test.StructWithTraits=mojo::test::StructWithTraitsImpl",
  "mojo.test.NestedStructWithTraits=mojo::test::NestedStructWithTraitsImpl",
  "mojo.test.PassByValueStructWithTraits=mojo::test::PassByValueStructWithTraitsImpl[move_only]",
  "mojo.test.StructWithTraitsForUniquePtrTest=std::unique_ptr<int>[move_only]",
]