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

Side by Side Diff: mojo/mojo_public_tests.gyp

Issue 2305043002: Removing .gyp/.gypi files from the mojo/ folder. (Closed)
Patch Set: . Created 4 years, 3 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/mojo_public_nacl.gyp ('k') | mojo/mojom_bindings_generator.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 'mojo_public_test_interfaces_mojom_files': [
9 'public/interfaces/bindings/tests/math_calculator.mojom',
10 'public/interfaces/bindings/tests/no_module.mojom',
11 'public/interfaces/bindings/tests/ping_service.mojom',
12 'public/interfaces/bindings/tests/rect.mojom',
13 'public/interfaces/bindings/tests/regression_tests.mojom',
14 'public/interfaces/bindings/tests/sample_factory.mojom',
15 'public/interfaces/bindings/tests/sample_import.mojom',
16 'public/interfaces/bindings/tests/sample_import2.mojom',
17 'public/interfaces/bindings/tests/sample_interfaces.mojom',
18 'public/interfaces/bindings/tests/sample_service.mojom',
19 'public/interfaces/bindings/tests/scoping.mojom',
20 'public/interfaces/bindings/tests/serialization_test_structs.mojom',
21 'public/interfaces/bindings/tests/test_constants.mojom',
22 'public/interfaces/bindings/tests/test_data_view.mojom',
23 'public/interfaces/bindings/tests/test_native_types.mojom',
24 'public/interfaces/bindings/tests/test_sync_methods.mojom',
25 ],
26 },
27 'target_defaults' : {
28 'include_dirs': [
29 '..',
30 ],
31 },
32 'targets': [
33 {
34 'target_name': 'mojo_public_test_interfaces_mojom',
35 'type': 'none',
36 'variables': {
37 'mojom_files': [
38 'public/interfaces/bindings/tests/test_structs.mojom',
39 'public/interfaces/bindings/tests/test_unions.mojom',
40 'public/interfaces/bindings/tests/validation_test_interfaces.mojom',
41 '<@(mojo_public_test_interfaces_mojom_files)',
42 ],
43 'mojom_typemaps': [
44 'public/cpp/bindings/tests/rect_chromium.typemap',
45 'public/cpp/bindings/tests/test_native_types_chromium.typemap',
46 ],
47 },
48 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
49 },
50 {
51 'target_name': 'mojo_public_test_interfaces_struct_traits',
52 'type': 'static_library',
53 'variables': {
54 'mojom_typemaps': [
55 'public/cpp/bindings/tests/struct_with_traits.typemap',
56 ],
57 },
58 'sources': [
59 'public/interfaces/bindings/tests/struct_with_traits.mojom',
60 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc',
61 ],
62 'includes': [ 'mojom_bindings_generator.gypi' ],
63 },
64 {
65 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces
66 'target_name': 'mojo_public_test_interfaces',
67 'type': 'static_library',
68 'export_dependent_settings': [
69 'mojo_public.gyp:mojo_cpp_bindings',
70 ],
71 'sources': [
72 'public/cpp/bindings/tests/pickled_types_chromium.cc',
73 ],
74 'dependencies': [
75 '../ipc/ipc.gyp:ipc',
76 'mojo_public.gyp:mojo_cpp_bindings',
77 'mojo_public_test_interfaces_mojom',
78 ],
79 },
80 {
81 'target_name': 'mojo_public_test_associated_interfaces_mojom',
82 'type': 'none',
83 'variables': {
84 # These files are not included in the mojo_public_test_interfaces_mojom
85 # target because associated interfaces are not supported by all bindings
86 # languages yet.
87 'mojom_files': [
88 'public/interfaces/bindings/tests/test_associated_interfaces.mojom',
89 'public/interfaces/bindings/tests/validation_test_associated_interface s.mojom',
90 ],
91 },
92 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
93 },
94 {
95 # GN version: //mojo/public/interfaces/bindings/tests:test_associated_inte rfaces
96 'target_name': 'mojo_public_test_associated_interfaces',
97 'type': 'static_library',
98 'export_dependent_settings': [
99 'mojo_public.gyp:mojo_cpp_bindings',
100 ],
101 'dependencies': [
102 'mojo_public.gyp:mojo_cpp_bindings',
103 'mojo_public_test_associated_interfaces_mojom',
104 ],
105 },
106 {
107 'target_name': 'mojo_public_test_wtf_types',
108 'type': 'static_library',
109 'sources': [
110 'public/interfaces/bindings/tests/test_wtf_types.mojom',
111 ],
112 'includes': [ 'mojom_bindings_generator.gypi' ],
113 },
114 ],
115 'conditions': [
116 ['OS != "ios"', {
117 'targets': [
118 {
119 'target_name': 'mojo_public_test_interfaces_mojom_blink',
120 'type': 'none',
121 'variables': {
122 'for_blink': 'true',
123 'mojom_typemaps': [
124 'public/cpp/bindings/tests/rect_blink.typemap',
125 'public/cpp/bindings/tests/test_native_types_blink.typemap',
126 ],
127 'mojom_files': '<(mojo_public_test_interfaces_mojom_files)',
128 },
129 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
130 },
131 {
132 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_ blink
133 'target_name': 'mojo_public_test_interfaces_blink',
134 'type': 'static_library',
135 'export_dependent_settings': [
136 'mojo_public.gyp:mojo_cpp_bindings',
137 'mojo_public_test_interfaces_mojom_blink',
138 ],
139 'sources': [
140 'public/cpp/bindings/tests/pickled_types_blink.cc',
141 ],
142 'dependencies': [
143 '../ipc/ipc.gyp:ipc',
144 'mojo_public.gyp:mojo_cpp_bindings',
145 'mojo_public_test_interfaces_mojom_blink',
146 ],
147 },
148 {
149 'target_name': 'mojo_public_test_wtf_types_blink',
150 'type': 'static_library',
151 'variables': {
152 'for_blink': 'true',
153 },
154 'sources': [
155 'public/interfaces/bindings/tests/test_wtf_types.mojom',
156 ],
157 'includes': [ 'mojom_bindings_generator.gypi' ],
158 },
159 ],
160 }],
161 ],
162 }
163
OLDNEW
« no previous file with comments | « mojo/mojo_public_nacl.gyp ('k') | mojo/mojom_bindings_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698