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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
# Copyright 2014 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("../../../tools/bindings/mojom.gni")
mojom("test_interfaces") {
testonly = true
sources = [
"math_calculator.mojom",
"no_module.mojom",
"ping_service.mojom",
"rect.mojom",
"regression_tests.mojom",
"sample_factory.mojom",
"sample_import.mojom",
"sample_import2.mojom",
"sample_interfaces.mojom",
"sample_service.mojom",
"scoping.mojom",
"serialization_test_structs.mojom",
"test_constants.mojom",
"test_structs.mojom",
"test_sync_methods.mojom",
"validation_test_interfaces.mojom",
]
}
mojom("test_struct_traits_interfaces") {
testonly = true
sources = [
"struct_with_traits.mojom",
]
typemaps = [ "struct_with_traits.typemap" ]
}
mojom("test_interfaces_experimental") {
testonly = true
sources = [
"test_unions.mojom",
]
}
mojom("test_associated_interfaces") {
# These files are not included in the test_interfaces target because
# associated interfaces are not supported by all bindings languages yet.
testonly = true
sources = [
"test_associated_interfaces.mojom",
"validation_test_associated_interfaces.mojom",
]
}
mojom("versioning_test_service_interfaces") {
# FIXME: Dart packaged applications cannot depend on testonly mojoms.
# testonly = true
sources = [
"versioning_test_service.mojom",
]
}
mojom("versioning_test_client_interfaces") {
# FIXME: Dart packaged applications cannot depend on testonly mojoms.
# testonly = true
sources = [
"versioning_test_client.mojom",
]
}
mojom("test_interfaces_chromium") {
testonly = true
sources = [
"test_native_types.mojom",
]
variant = "chromium"
typemaps = [ "chromium_test.typemap" ]
public_deps = [
":test_interfaces",
]
}
mojom("test_interfaces_blink") {
testonly = true
sources = [
"test_native_types.mojom",
]
variant = "blink"
typemaps = [ "blink_test.typemap" ]
public_deps = [
":test_interfaces",
]
}
mojom("test_wtf_types") {
testonly = true
sources = [
"test_wtf_types.mojom",
]
}
mojom("test_wtf_types_blink") {
testonly = true
sources = [
"test_wtf_types.mojom",
]
deps = [
":test_wtf_types",
]
for_blink = true
variant = "blink"
}
|