forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
53 lines (44 loc) · 1.19 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 2015 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")
# Normally typemap traits sources should be build directly into mojom targets
# via the typemap file. This target is for typemapped mojo_base types whose
# traits are shared between chromium and blink variants.
component("shared_typemap_traits") {
output_name = "skia_shared_typemap_traits"
sources = [
"bitmap_skbitmap_mojom_traits.cc",
"bitmap_skbitmap_mojom_traits.h",
"image_info_mojom_traits.cc",
"image_info_mojom_traits.h",
]
defines = [ "IS_SKIA_SHARED_TRAITS_IMPL" ]
public_deps = [
"//base",
"//mojo/public/cpp/base:shared_typemap_traits",
"//skia",
"//skia/public/mojom:mojom_shared",
]
}
mojom("mojom") {
generate_java = true
sources = [
"bitmap.mojom",
"blur_image_filter_tile_mode.mojom",
"image_info.mojom",
"skcolor.mojom",
]
public_deps = [
"//mojo/public/mojom/base",
]
}
mojom("test_interfaces") {
testonly = true
sources = [
"test/traits_test_service.mojom",
]
public_deps = [
":mojom",
]
}