OLD | NEW |
---|---|
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 ['OS!="ios"', { | 62 ['OS!="ios"', { |
63 'sources': [ | 63 'sources': [ |
64 'mojo/url_gurl_struct_traits_unittest.cc', | 64 'mojo/url_gurl_struct_traits_unittest.cc', |
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', |
Ken Rockot(use gerrit already)
2016/03/22 18:00:10
nit: Maybe we should rename this target to url_moj
Sam McNally
2016/03/22 19:22:03
I think we're going to default to no suffix/varian
| |
73 'type': 'none', | 73 'type': 'none', |
74 'variables': { | 74 'variables': { |
Ken Rockot(use gerrit already)
2016/03/22 18:00:10
Why is this no longer chromium variant? Or is it b
Sam McNally
2016/03/22 19:22:03
It was either this or change all the other mojom t
| |
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 Loading... | |
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 } |
OLD | NEW |