blob: 752ce44b58e3e51e7eac47061b289b36d70ee563 [file] [log] [blame]
# 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.TrivialStructWithTraits=mojo::test::TrivialStructWithTraitsImpl[copyable_pass_by_value]",
"mojo.test.MoveOnlyStructWithTraits=mojo::test::MoveOnlyStructWithTraitsImpl[move_only]",
"mojo.test.StructWithTraitsForUniquePtr=std::unique_ptr<int>[move_only,nullable_is_same_type]",
"mojo.test.UnionWithTraits=std::unique_ptr<mojo::test::UnionWithTraitsBase>[move_only,nullable_is_same_type]",
]