Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Side by Side Diff: mojo/public/interfaces/bindings/tests/BUILD.gn

Issue 2136733002: Mojo C++ bindings: add a new mode to generator to use native STL/WTF types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@67_new
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("../../../tools/bindings/mojom.gni") 5 import("../../../tools/bindings/mojom.gni")
6 6
7 mojom("test_interfaces") { 7 mojom("test_interfaces") {
8 testonly = true 8 testonly = true
9 sources = [ 9 sources = [
10 "math_calculator.mojom", 10 "math_calculator.mojom",
11 "no_module.mojom", 11 "no_module.mojom",
12 "ping_service.mojom", 12 "ping_service.mojom",
13 "rect.mojom", 13 "rect.mojom",
14 "regression_tests.mojom", 14 "regression_tests.mojom",
15 "sample_factory.mojom", 15 "sample_factory.mojom",
16 "sample_interfaces.mojom", 16 "sample_interfaces.mojom",
17 "sample_service.mojom", 17 "sample_service.mojom",
18 "scoping.mojom", 18 "scoping.mojom",
19 "serialization_test_structs.mojom", 19 "serialization_test_structs.mojom",
20 "test_constants.mojom", 20 "test_constants.mojom",
21 "test_native_types.mojom", 21 "test_native_types.mojom",
22 "test_structs.mojom", 22 "test_structs.mojom",
23 "test_sync_methods.mojom", 23 "test_sync_methods.mojom",
24 "validation_test_interfaces.mojom", 24 "validation_test_interfaces.mojom",
25 ] 25 ]
26 public_deps = [ 26 public_deps = [
27 ":test_mojom_import", 27 ":test_mojom_import",
28 ":test_mojom_import2", 28 ":test_mojom_import2",
29 ] 29 ]
30
31 use_new_wrapper_types = true
30 } 32 }
31 33
32 mojom("test_mojom_import") { 34 mojom("test_mojom_import") {
33 testonly = true 35 testonly = true
34 sources = [ 36 sources = [
35 "sample_import.mojom", 37 "sample_import.mojom",
36 ] 38 ]
39 use_new_wrapper_types = true
37 } 40 }
38 41
39 mojom("test_mojom_import_wrapper") { 42 mojom("test_mojom_import_wrapper") {
40 testonly = true 43 testonly = true
41 public_deps = [ 44 public_deps = [
42 ":test_mojom_import", 45 ":test_mojom_import",
43 ] 46 ]
44 } 47 }
45 48
46 mojom("test_mojom_import_wrapper_wrapper") { 49 mojom("test_mojom_import_wrapper_wrapper") {
47 testonly = true 50 testonly = true
48 public_deps = [ 51 public_deps = [
49 ":test_mojom_import_wrapper", 52 ":test_mojom_import_wrapper",
50 ] 53 ]
51 } 54 }
52 55
53 mojom("test_mojom_import2") { 56 mojom("test_mojom_import2") {
54 testonly = true 57 testonly = true
55 sources = [ 58 sources = [
56 "sample_import2.mojom", 59 "sample_import2.mojom",
57 ] 60 ]
58 public_deps = [ 61 public_deps = [
59 ":test_mojom_import", 62 ":test_mojom_import",
60 ":test_mojom_import_wrapper_wrapper", 63 ":test_mojom_import_wrapper_wrapper",
61 ] 64 ]
65 use_new_wrapper_types = true
62 } 66 }
63 67
64 mojom("test_struct_traits_interfaces") { 68 mojom("test_struct_traits_interfaces") {
65 testonly = true 69 testonly = true
66 sources = [ 70 sources = [
67 "struct_with_traits.mojom", 71 "struct_with_traits.mojom",
68 ] 72 ]
73 use_new_wrapper_types = true
69 } 74 }
70 75
71 mojom("test_interfaces_experimental") { 76 mojom("test_interfaces_experimental") {
72 testonly = true 77 testonly = true
73 sources = [ 78 sources = [
74 "test_unions.mojom", 79 "test_unions.mojom",
75 ] 80 ]
81 use_new_wrapper_types = true
76 } 82 }
77 83
78 mojom("test_associated_interfaces") { 84 mojom("test_associated_interfaces") {
79 # These files are not included in the test_interfaces target because 85 # These files are not included in the test_interfaces target because
80 # associated interfaces are not supported by all bindings languages yet. 86 # associated interfaces are not supported by all bindings languages yet.
81 testonly = true 87 testonly = true
82 sources = [ 88 sources = [
83 "test_associated_interfaces.mojom", 89 "test_associated_interfaces.mojom",
84 "validation_test_associated_interfaces.mojom", 90 "validation_test_associated_interfaces.mojom",
85 ] 91 ]
92 use_new_wrapper_types = true
86 } 93 }
87 94
88 mojom("versioning_test_service_interfaces") { 95 mojom("versioning_test_service_interfaces") {
89 testonly = true 96 testonly = true
90 sources = [ 97 sources = [
91 "versioning_test_service.mojom", 98 "versioning_test_service.mojom",
92 ] 99 ]
100 use_new_wrapper_types = true
93 } 101 }
94 102
95 mojom("versioning_test_client_interfaces") { 103 mojom("versioning_test_client_interfaces") {
96 testonly = true 104 testonly = true
97 sources = [ 105 sources = [
98 "versioning_test_client.mojom", 106 "versioning_test_client.mojom",
99 ] 107 ]
108 use_new_wrapper_types = true
100 } 109 }
101 110
102 mojom("test_wtf_types") { 111 mojom("test_wtf_types") {
103 testonly = true 112 testonly = true
104 113
105 sources = [ 114 sources = [
106 "test_wtf_types.mojom", 115 "test_wtf_types.mojom",
107 ] 116 ]
117 use_new_wrapper_types = true
108 } 118 }
109 119
110 mojom("test_no_sources") { 120 mojom("test_no_sources") {
111 testonly = true 121 testonly = true
112 122
113 public_deps = [ 123 public_deps = [
114 ":test_interfaces", 124 ":test_interfaces",
115 ] 125 ]
116 } 126 }
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/wtf_map.h ('k') | mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698