1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33

ash / webui / color_internals / mojom / BUILD.gn [blame]

# Copyright 2022 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/chromeos/ui_mode.gni")
import("//mojo/public/tools/bindings/mojom.gni")

assert(is_chromeos_ash)

mojom("mojom") {
  sources = [ "color_internals.mojom" ]

  webui_module_path = "/ash/webui/color_internals"

  public_deps = [ "//skia/public/mojom" ]

  cpp_typemaps = [
    {
      types = [
        {
          mojom = "ash.color_internals.mojom.WallpaperCalculatedColors"
          cpp = "::ash::WallpaperCalculatedColors"
        },
      ]
      traits_headers = [ "color_internals_mojom_traits.h" ]
      traits_sources = [ "color_internals_mojom_traits.cc" ]
      traits_public_deps = [
        "//ash",
        "//skia",
      ]
    },
  ]
}