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

# Copyright 2017 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("mojom") {
  sources = [ "media_parser.mojom" ]

  public_deps = [
    "//media/mojo/mojom",
    "//mojo/public/mojom/base",
    "//sandbox/policy/mojom",
  ]

  cpp_typemaps = [
    {
      types = [
        {
          mojom = "chrome.mojom.AttachedImage"
          cpp = "::metadata::AttachedImage"
        },
      ]
      traits_headers = [ "media_parser_mojom_traits.h" ]
      traits_sources = [ "media_parser_mojom_traits.cc" ]
    },
  ]
}