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

Side by Side Diff: url/url.gyp

Issue 1832703002: Mojo: Simplify typemap usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
Patch Set: add missing mash dependency Created 4 years, 8 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 | « url/mojo/typemaps.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 }, 8 },
9 'includes': [ 9 'includes': [
10 'url_srcs.gypi', 10 'url_srcs.gypi',
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 ], 113 ],
114 }], 114 }],
115 ], 115 ],
116 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 116 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
117 'msvs_disabled_warnings': [4267, ], 117 'msvs_disabled_warnings': [4267, ],
118 }, 118 },
119 { 119 {
120 'target_name': 'url_interfaces_mojom', 120 'target_name': 'url_interfaces_mojom',
121 'type': 'none', 121 'type': 'none',
122 'variables': { 122 'variables': {
123 'mojom_extra_generator_args': [
124 '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
125 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
126 ],
127 'mojom_files': [ 123 'mojom_files': [
128 'mojo/origin.mojom', 124 'mojo/origin.mojom',
129 'mojo/url.mojom', 125 'mojo/url.mojom',
130 ], 126 ],
127 'mojom_typemaps': [
128 'mojo/gurl.typemap',
129 'mojo/origin.typemap',
130 ],
131 }, 131 },
132 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 132 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
133 }, 133 },
134 { 134 {
135 'target_name': 'url_mojom', 135 'target_name': 'url_mojom',
136 'type': 'static_library', 136 'type': 'static_library',
137 'export_dependent_settings': [ 137 'export_dependent_settings': [
138 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 138 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
139 ], 139 ],
140 'dependencies': [ 140 'dependencies': [
141 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 141 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
142 'url_interfaces_mojom', 142 'url_interfaces_mojom',
143 'url_lib',
143 ], 144 ],
144 }, 145 },
145 { 146 {
146 'target_name': 'url_test_interfaces_mojom', 147 'target_name': 'url_test_interfaces_mojom',
147 'type': 'none', 148 'type': 'none',
148 'variables': { 149 'variables': {
149 'mojom_extra_generator_args': [
150 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
151 '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
152 ],
153 'mojom_files': [ 150 'mojom_files': [
154 'mojo/url_test.mojom', 151 'mojo/url_test.mojom',
155 ], 152 ],
153 'mojom_typemaps': [
154 'mojo/gurl.typemap',
155 'mojo/origin.typemap',
156 ],
156 }, 157 },
157 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 158 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
158 'dependencies': [ 159 'dependencies': [
159 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 160 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
160 'url_interfaces_mojom',
161 ], 161 ],
162 }, 162 },
163 { 163 {
164 'target_name': 'url_test_mojom', 164 'target_name': 'url_test_mojom',
165 'type': 'static_library', 165 'type': 'static_library',
166 'export_dependent_settings': [ 166 'export_dependent_settings': [
167 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 167 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
168 ], 168 ],
169 'dependencies': [ 169 'dependencies': [
170 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 170 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
171 'url_lib',
171 'url_mojom', 172 'url_mojom',
172 'url_test_interfaces_mojom', 173 'url_test_interfaces_mojom',
173 ], 174 ],
174 }, 175 },
175 { 176 {
176 # GN version: //url:url_features 177 # GN version: //url:url_features
177 'target_name': 'url_url_features', 178 'target_name': 'url_url_features',
178 'includes': [ '../build/buildflag_header.gypi' ], 179 'includes': [ '../build/buildflag_header.gypi' ],
179 'variables': { 180 'variables': {
180 'buildflag_header_path': 'url/url_features.h', 181 'buildflag_header_path': 'url/url_features.h',
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 '../build/isolate.gypi', 224 '../build/isolate.gypi',
224 ], 225 ],
225 'sources': [ 226 'sources': [
226 'url_unittests.isolate', 227 'url_unittests.isolate',
227 ], 228 ],
228 }, 229 },
229 ], 230 ],
230 }], 231 }],
231 ], 232 ],
232 } 233 }
OLDNEW
« no previous file with comments | « url/mojo/typemaps.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698