forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD.gn
32 lines (27 loc) · 774 Bytes
/
BUILD.gn
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
# Copyright 2020 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.
import("//mojo/public/tools/bindings/mojom.gni")
mojom("mojom") {
sources = [ "print.mojom" ]
}
mojom("printing_context") {
sources = [ "printing_context.mojom" ]
deps = [ "//ui/gfx/geometry/mojom" ]
cpp_typemaps = [
{
types = [
{
mojom = "printing.mojom.PageMargins"
cpp = "::printing::PageMargins"
},
{
mojom = "printing.mojom.PageSetup"
cpp = "::printing::PageSetup"
},
]
traits_sources = [ "printing_context_mojom_traits.cc" ]
traits_headers = [ "printing_context_mojom_traits.h" ]
},
]
}