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

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

Issue 2156303003: Mojo C++ bindings: make the generator use STL/WTF string/vector/map by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into 72_switch_default 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
« no previous file with comments | « mojo/public/interfaces/bindings/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
32 } 30 }
33 31
34 mojom("test_mojom_import") { 32 mojom("test_mojom_import") {
35 testonly = true 33 testonly = true
36 sources = [ 34 sources = [
37 "sample_import.mojom", 35 "sample_import.mojom",
38 ] 36 ]
39 use_new_wrapper_types = true
40 } 37 }
41 38
42 mojom("test_mojom_import_wrapper") { 39 mojom("test_mojom_import_wrapper") {
43 testonly = true 40 testonly = true
44 public_deps = [ 41 public_deps = [
45 ":test_mojom_import", 42 ":test_mojom_import",
46 ] 43 ]
47 } 44 }
48 45
49 mojom("test_mojom_import_wrapper_wrapper") { 46 mojom("test_mojom_import_wrapper_wrapper") {
50 testonly = true 47 testonly = true
51 public_deps = [ 48 public_deps = [
52 ":test_mojom_import_wrapper", 49 ":test_mojom_import_wrapper",
53 ] 50 ]
54 } 51 }
55 52
56 mojom("test_mojom_import2") { 53 mojom("test_mojom_import2") {
57 testonly = true 54 testonly = true
58 sources = [ 55 sources = [
59 "sample_import2.mojom", 56 "sample_import2.mojom",
60 ] 57 ]
61 public_deps = [ 58 public_deps = [
62 ":test_mojom_import", 59 ":test_mojom_import",
63 ":test_mojom_import_wrapper_wrapper", 60 ":test_mojom_import_wrapper_wrapper",
64 ] 61 ]
65 use_new_wrapper_types = true
66 } 62 }
67 63
68 mojom("test_struct_traits_interfaces") { 64 mojom("test_struct_traits_interfaces") {
69 testonly = true 65 testonly = true
70 sources = [ 66 sources = [
71 "struct_with_traits.mojom", 67 "struct_with_traits.mojom",
72 ] 68 ]
73 use_new_wrapper_types = true
74 } 69 }
75 70
76 mojom("test_interfaces_experimental") { 71 mojom("test_interfaces_experimental") {
77 testonly = true 72 testonly = true
78 sources = [ 73 sources = [
79 "test_unions.mojom", 74 "test_unions.mojom",
80 ] 75 ]
81 use_new_wrapper_types = true
82 } 76 }
83 77
84 mojom("test_associated_interfaces") { 78 mojom("test_associated_interfaces") {
85 # These files are not included in the test_interfaces target because 79 # These files are not included in the test_interfaces target because
86 # associated interfaces are not supported by all bindings languages yet. 80 # associated interfaces are not supported by all bindings languages yet.
87 testonly = true 81 testonly = true
88 sources = [ 82 sources = [
89 "test_associated_interfaces.mojom", 83 "test_associated_interfaces.mojom",
90 "validation_test_associated_interfaces.mojom", 84 "validation_test_associated_interfaces.mojom",
91 ] 85 ]
92 use_new_wrapper_types = true
93 } 86 }
94 87
95 mojom("versioning_test_service_interfaces") { 88 mojom("versioning_test_service_interfaces") {
96 testonly = true 89 testonly = true
97 sources = [ 90 sources = [
98 "versioning_test_service.mojom", 91 "versioning_test_service.mojom",
99 ] 92 ]
100 use_new_wrapper_types = true
101 } 93 }
102 94
103 mojom("versioning_test_client_interfaces") { 95 mojom("versioning_test_client_interfaces") {
104 testonly = true 96 testonly = true
105 sources = [ 97 sources = [
106 "versioning_test_client.mojom", 98 "versioning_test_client.mojom",
107 ] 99 ]
108 use_new_wrapper_types = true
109 } 100 }
110 101
111 mojom("test_wtf_types") { 102 mojom("test_wtf_types") {
112 testonly = true 103 testonly = true
113 104
114 sources = [ 105 sources = [
115 "test_wtf_types.mojom", 106 "test_wtf_types.mojom",
116 ] 107 ]
117 use_new_wrapper_types = true
118 } 108 }
119 109
120 mojom("test_no_sources") { 110 mojom("test_no_sources") {
121 testonly = true 111 testonly = true
122 112
123 public_deps = [ 113 public_deps = [
124 ":test_interfaces", 114 ":test_interfaces",
125 ] 115 ]
126 } 116 }
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698