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

Side by Side Diff: url/url.gyp

Issue 1821073002: Mojo bindings: Fix typemap includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« url/mojo/BUILD.gn ('K') | « url/mojo/origin.typemap ('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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 ], 65 ],
66 }], 66 }],
67 ], 67 ],
68 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 68 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
69 'msvs_disabled_warnings': [4267, ], 69 'msvs_disabled_warnings': [4267, ],
70 }, 70 },
71 { 71 {
72 'target_name': 'url_interfaces_mojom', 72 'target_name': 'url_interfaces_mojom',
73 'type': 'none', 73 'type': 'none',
74 'variables': { 74 'variables': {
75 'mojom_extra_generator_args': [
76 '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
77 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
78 ],
75 'mojom_files': [ 79 'mojom_files': [
76 'mojo/origin.mojom', 80 'mojo/origin.mojom',
77 'mojo/url.mojom', 81 'mojo/url.mojom',
78 ], 82 ],
79 }, 83 },
80 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 84 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
81 }, 85 },
82 { 86 {
83 'target_name': 'url_mojom_chromium',
84 'type': 'none',
85 'variables': {
86 'mojom_variant': 'chromium',
87 'mojom_extra_generator_args': [
88 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
89 ],
90 'mojom_files': [
91 'mojo/url.mojom',
92 ],
93 },
94 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
95 'dependencies': [
96 'url_interfaces_mojom',
97 ],
98 },
99 {
100 'target_name': 'origin_mojom_chromium',
101 'type': 'none',
102 'variables': {
103 'mojom_variant': 'chromium',
104 'mojom_extra_generator_args': [
105 '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
106 ],
107 'mojom_files': [
108 'mojo/origin.mojom',
109 ],
110 },
111 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
112 'dependencies': [
113 'url_interfaces_mojom',
114 ],
115 },
116 {
117 'target_name': 'url_mojom', 87 'target_name': 'url_mojom',
118 'type': 'static_library', 88 'type': 'static_library',
119 'export_dependent_settings': [ 89 'export_dependent_settings': [
120 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 90 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
121 ], 91 ],
122 'dependencies': [ 92 'dependencies': [
123 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 93 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
124 'url_interfaces_mojom', 94 'url_interfaces_mojom',
125 ], 95 ],
126 }, 96 },
127 { 97 {
128 'target_name': 'url_test_interfaces_mojom', 98 'target_name': 'url_test_interfaces_mojom',
129 'type': 'none', 99 'type': 'none',
130 'variables': { 100 'variables': {
131 'mojom_extra_generator_args': [ 101 'mojom_extra_generator_args': [
132 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap', 102 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
133 '--typemap', '<(DEPTH)/url/mojo/origin.typemap', 103 '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
134 ], 104 ],
135 'mojom_files': [ 105 'mojom_files': [
136 'mojo/url_test.mojom', 106 'mojo/url_test.mojom',
137 ], 107 ],
138 }, 108 },
139 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 109 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
140 'dependencies': [ 110 'dependencies': [
141 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 111 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
142 'origin_mojom_chromium', 112 'url_interfaces_mojom',
143 'url_mojom_chromium',
144 ], 113 ],
145 }, 114 },
146 { 115 {
147 'target_name': 'url_test_mojom', 116 'target_name': 'url_test_mojom',
148 'type': 'static_library', 117 'type': 'static_library',
149 'export_dependent_settings': [ 118 'export_dependent_settings': [
150 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 119 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
151 ], 120 ],
152 'dependencies': [ 121 'dependencies': [
153 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 122 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 '../build/isolate.gypi', 193 '../build/isolate.gypi',
225 ], 194 ],
226 'sources': [ 195 'sources': [
227 'url_unittests.isolate', 196 'url_unittests.isolate',
228 ], 197 ],
229 }, 198 },
230 ], 199 ],
231 }], 200 }],
232 ], 201 ],
233 } 202 }
OLDNEW
« url/mojo/BUILD.gn ('K') | « url/mojo/origin.typemap ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698