OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'mojo_public_test_interfaces_mojom_files': [ | 8 'mojo_public_test_interfaces_mojom_files': [ |
9 'public/interfaces/bindings/tests/math_calculator.mojom', | 9 'public/interfaces/bindings/tests/math_calculator.mojom', |
10 'public/interfaces/bindings/tests/no_module.mojom', | 10 'public/interfaces/bindings/tests/no_module.mojom', |
(...skipping 25 matching lines...) Expand all Loading... |
36 'mojom_files': [ | 36 'mojom_files': [ |
37 'public/interfaces/bindings/tests/test_structs.mojom', | 37 'public/interfaces/bindings/tests/test_structs.mojom', |
38 'public/interfaces/bindings/tests/test_unions.mojom', | 38 'public/interfaces/bindings/tests/test_unions.mojom', |
39 'public/interfaces/bindings/tests/validation_test_interfaces.mojom', | 39 'public/interfaces/bindings/tests/validation_test_interfaces.mojom', |
40 '<@(mojo_public_test_interfaces_mojom_files)', | 40 '<@(mojo_public_test_interfaces_mojom_files)', |
41 ], | 41 ], |
42 'mojom_typemaps': [ | 42 'mojom_typemaps': [ |
43 'public/cpp/bindings/tests/rect_chromium.typemap', | 43 'public/cpp/bindings/tests/rect_chromium.typemap', |
44 'public/cpp/bindings/tests/test_native_types_chromium.typemap', | 44 'public/cpp/bindings/tests/test_native_types_chromium.typemap', |
45 ], | 45 ], |
46 'use_new_wrapper_types': 'true', | |
47 }, | 46 }, |
48 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], | 47 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
49 }, | 48 }, |
50 { | 49 { |
51 'target_name': 'mojo_public_test_interfaces_struct_traits', | 50 'target_name': 'mojo_public_test_interfaces_struct_traits', |
52 'type': 'static_library', | 51 'type': 'static_library', |
53 'variables': { | 52 'variables': { |
54 'mojom_typemaps': [ | 53 'mojom_typemaps': [ |
55 'public/cpp/bindings/tests/struct_with_traits.typemap', | 54 'public/cpp/bindings/tests/struct_with_traits.typemap', |
56 ], | 55 ], |
57 'use_new_wrapper_types': 'true', | |
58 }, | 56 }, |
59 'sources': [ | 57 'sources': [ |
60 'public/interfaces/bindings/tests/struct_with_traits.mojom', | 58 'public/interfaces/bindings/tests/struct_with_traits.mojom', |
61 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc', | 59 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc', |
62 ], | 60 ], |
63 'includes': [ 'mojom_bindings_generator.gypi' ], | 61 'includes': [ 'mojom_bindings_generator.gypi' ], |
64 }, | 62 }, |
65 { | 63 { |
66 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces | 64 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces |
67 'target_name': 'mojo_public_test_interfaces', | 65 'target_name': 'mojo_public_test_interfaces', |
(...skipping 14 matching lines...) Expand all Loading... |
82 'target_name': 'mojo_public_test_associated_interfaces_mojom', | 80 'target_name': 'mojo_public_test_associated_interfaces_mojom', |
83 'type': 'none', | 81 'type': 'none', |
84 'variables': { | 82 'variables': { |
85 # These files are not included in the mojo_public_test_interfaces_mojom | 83 # These files are not included in the mojo_public_test_interfaces_mojom |
86 # target because associated interfaces are not supported by all bindings | 84 # target because associated interfaces are not supported by all bindings |
87 # languages yet. | 85 # languages yet. |
88 'mojom_files': [ | 86 'mojom_files': [ |
89 'public/interfaces/bindings/tests/test_associated_interfaces.mojom', | 87 'public/interfaces/bindings/tests/test_associated_interfaces.mojom', |
90 'public/interfaces/bindings/tests/validation_test_associated_interface
s.mojom', | 88 'public/interfaces/bindings/tests/validation_test_associated_interface
s.mojom', |
91 ], | 89 ], |
92 'use_new_wrapper_types': 'true', | |
93 }, | 90 }, |
94 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], | 91 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
95 }, | 92 }, |
96 { | 93 { |
97 # GN version: //mojo/public/interfaces/bindings/tests:test_associated_inte
rfaces | 94 # GN version: //mojo/public/interfaces/bindings/tests:test_associated_inte
rfaces |
98 'target_name': 'mojo_public_test_associated_interfaces', | 95 'target_name': 'mojo_public_test_associated_interfaces', |
99 'type': 'static_library', | 96 'type': 'static_library', |
100 'export_dependent_settings': [ | 97 'export_dependent_settings': [ |
101 'mojo_public.gyp:mojo_cpp_bindings', | 98 'mojo_public.gyp:mojo_cpp_bindings', |
102 ], | 99 ], |
103 'dependencies': [ | 100 'dependencies': [ |
104 'mojo_public.gyp:mojo_cpp_bindings', | 101 'mojo_public.gyp:mojo_cpp_bindings', |
105 'mojo_public_test_associated_interfaces_mojom', | 102 'mojo_public_test_associated_interfaces_mojom', |
106 ], | 103 ], |
107 }, | 104 }, |
108 { | 105 { |
109 'target_name': 'mojo_public_test_wtf_types', | 106 'target_name': 'mojo_public_test_wtf_types', |
110 'type': 'static_library', | 107 'type': 'static_library', |
111 'sources': [ | 108 'sources': [ |
112 'public/interfaces/bindings/tests/test_wtf_types.mojom', | 109 'public/interfaces/bindings/tests/test_wtf_types.mojom', |
113 ], | 110 ], |
114 'variables': { | |
115 'use_new_wrapper_types': 'true', | |
116 }, | |
117 'includes': [ 'mojom_bindings_generator.gypi' ], | 111 'includes': [ 'mojom_bindings_generator.gypi' ], |
118 }, | 112 }, |
119 ], | 113 ], |
120 'conditions': [ | 114 'conditions': [ |
121 ['OS != "ios"', { | 115 ['OS != "ios"', { |
122 'targets': [ | 116 'targets': [ |
123 { | 117 { |
124 'target_name': 'mojo_public_test_interfaces_mojom_blink', | 118 'target_name': 'mojo_public_test_interfaces_mojom_blink', |
125 'type': 'none', | 119 'type': 'none', |
126 'variables': { | 120 'variables': { |
127 'for_blink': 'true', | 121 'for_blink': 'true', |
128 'mojom_typemaps': [ | 122 'mojom_typemaps': [ |
129 'public/cpp/bindings/tests/rect_blink.typemap', | 123 'public/cpp/bindings/tests/rect_blink.typemap', |
130 'public/cpp/bindings/tests/test_native_types_blink.typemap', | 124 'public/cpp/bindings/tests/test_native_types_blink.typemap', |
131 ], | 125 ], |
132 'mojom_files': '<(mojo_public_test_interfaces_mojom_files)', | 126 'mojom_files': '<(mojo_public_test_interfaces_mojom_files)', |
133 'use_new_wrapper_types': 'true', | |
134 }, | 127 }, |
135 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], | 128 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
136 }, | 129 }, |
137 { | 130 { |
138 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_
blink | 131 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_
blink |
139 'target_name': 'mojo_public_test_interfaces_blink', | 132 'target_name': 'mojo_public_test_interfaces_blink', |
140 'type': 'static_library', | 133 'type': 'static_library', |
141 'export_dependent_settings': [ | 134 'export_dependent_settings': [ |
142 'mojo_public.gyp:mojo_cpp_bindings', | 135 'mojo_public.gyp:mojo_cpp_bindings', |
143 'mojo_public_test_interfaces_mojom_blink', | 136 'mojo_public_test_interfaces_mojom_blink', |
144 ], | 137 ], |
145 'sources': [ | 138 'sources': [ |
146 'public/cpp/bindings/tests/pickled_types_blink.cc', | 139 'public/cpp/bindings/tests/pickled_types_blink.cc', |
147 ], | 140 ], |
148 'dependencies': [ | 141 'dependencies': [ |
149 '../ipc/ipc.gyp:ipc', | 142 '../ipc/ipc.gyp:ipc', |
150 'mojo_public.gyp:mojo_cpp_bindings', | 143 'mojo_public.gyp:mojo_cpp_bindings', |
151 'mojo_public_test_interfaces_mojom_blink', | 144 'mojo_public_test_interfaces_mojom_blink', |
152 ], | 145 ], |
153 }, | 146 }, |
154 { | 147 { |
155 'target_name': 'mojo_public_test_wtf_types_blink', | 148 'target_name': 'mojo_public_test_wtf_types_blink', |
156 'type': 'static_library', | 149 'type': 'static_library', |
157 'variables': { | 150 'variables': { |
158 'for_blink': 'true', | 151 'for_blink': 'true', |
159 'use_new_wrapper_types': 'true', | |
160 }, | 152 }, |
161 'sources': [ | 153 'sources': [ |
162 'public/interfaces/bindings/tests/test_wtf_types.mojom', | 154 'public/interfaces/bindings/tests/test_wtf_types.mojom', |
163 ], | 155 ], |
164 'includes': [ 'mojom_bindings_generator.gypi' ], | 156 'includes': [ 'mojom_bindings_generator.gypi' ], |
165 }, | 157 }, |
166 ], | 158 ], |
167 }], | 159 }], |
168 ], | 160 ], |
169 } | 161 } |
170 | 162 |
OLD | NEW |