OLD | NEW |
| (Empty) |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("../../../tools/bindings/mojom.gni") | |
6 | |
7 mojom("test_interfaces") { | |
8 testonly = true | |
9 | |
10 # Some of those files are part of tests that check type info generation. | |
11 generate_type_info = true | |
12 sources = [ | |
13 "math_calculator.mojom", | |
14 "minimal_interface.mojom", | |
15 "no_module.mojom", | |
16 "ping_service.mojom", | |
17 "rect.mojom", | |
18 "regression_tests.mojom", | |
19 "sample_factory.mojom", | |
20 "sample_import.mojom", | |
21 "sample_import2.mojom", | |
22 "sample_interfaces.mojom", | |
23 "sample_service.mojom", | |
24 "scoping.mojom", | |
25 "serialization_test_structs.mojom", | |
26 "test_arrays.mojom", | |
27 "test_constants.mojom", | |
28 "test_enums.mojom", | |
29 "test_included_unions.mojom", | |
30 "test_structs.mojom", | |
31 "test_unions.mojom", | |
32 "validation_test_interfaces.mojom", | |
33 ] | |
34 } | |
35 | |
36 mojom("versioning_test_service_interfaces") { | |
37 # FIXME: Dart packaged applications cannot depend on testonly mojoms. | |
38 # testonly = true | |
39 sources = [ | |
40 "versioning_test_service.mojom", | |
41 ] | |
42 } | |
43 | |
44 mojom("versioning_test_client_interfaces") { | |
45 # FIXME: Dart packaged applications cannot depend on testonly mojoms. | |
46 # testonly = true | |
47 sources = [ | |
48 "versioning_test_client.mojom", | |
49 ] | |
50 } | |
51 | |
52 # Declare the validation parser library with a C interface. | |
53 # | |
54 # Generates a static library which C binaries or languages with a C FFI | |
55 # can link against to get a parser for the validation test "golden files". | |
56 # | |
57 | |
58 static_library("validation_parser") { | |
59 testonly = true | |
60 complete_static_lib = true | |
61 sources = [ | |
62 "validation_parser/validation_parser.cc", | |
63 "validation_parser/validation_parser.h", | |
64 ] | |
65 deps = [ | |
66 "../../../cpp/bindings/tests:mojo_public_bindings_test_utils", | |
67 ] | |
68 } | |
OLD | NEW |