# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/tools/bindings/mojom.gni")
mojom("common") {
sources = [ "translate.mojom" ]
public_deps = [
"//mojo/public/mojom/base",
"//url/mojom:url_mojom_gurl",
]
cpp_typemaps = [
{
types = [
{
mojom = "translate.mojom.LanguageDetectionDetails"
cpp = "::translate::LanguageDetectionDetails"
},
{
mojom = "translate.mojom.TranslateError"
cpp = "::translate::TranslateErrors"
},
]
traits_headers = [ "translate_mojom_traits.h" ]
traits_sources = [ "translate_mojom_traits.cc" ]
},
]
}