chromium/chrome/services/cups_proxy/public/mojom/BUILD.gn

# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/features.gni")
import("//mojo/public/tools/bindings/mojom.gni")

mojom("mojom") {
  sources = [ "proxy.mojom" ]
  public_deps = [ "//mojo/public/mojom/base" ]
  cpp_typemaps = [
    {
      types = [
        {
          mojom = "cups_proxy.mojom.HttpHeader"
          cpp = "ipp_converter::HttpHeader"
        },
      ]
      traits_headers = [ "proxy_mojom_traits.h" ]
      traits_sources = [ "proxy_mojom_traits.cc" ]
      traits_public_deps = [ "//chrome/services/ipp_parser/public/cpp" ]
    },
  ]
}