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

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: rebase 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
« third_party/WebKit/public/BUILD.gn ('K') | « 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 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 ],
79 'mojom_files': [ 75 'mojom_files': [
80 'mojo/origin.mojom', 76 'mojo/origin.mojom',
81 'mojo/url.mojom', 77 'mojo/url.mojom',
82 ], 78 ],
79 'mojom_typemaps': [
80 'mojo/gurl.typemap',
81 'mojo/origin.typemap',
82 ],
83 }, 83 },
84 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 84 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
85 }, 85 },
86 { 86 {
87 'target_name': 'url_mojom', 87 'target_name': 'url_mojom',
88 'type': 'static_library', 88 'type': 'static_library',
89 'export_dependent_settings': [ 89 'export_dependent_settings': [
90 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 90 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
91 ], 91 ],
92 'dependencies': [ 92 'dependencies': [
93 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 93 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
94 'url_interfaces_mojom', 94 'url_interfaces_mojom',
95 'url_lib',
95 ], 96 ],
96 }, 97 },
97 { 98 {
98 'target_name': 'url_test_interfaces_mojom', 99 'target_name': 'url_test_interfaces_mojom',
99 'type': 'none', 100 'type': 'none',
100 'variables': { 101 'variables': {
101 'mojom_extra_generator_args': [
102 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
103 '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
104 ],
105 'mojom_files': [ 102 'mojom_files': [
106 'mojo/url_test.mojom', 103 'mojo/url_test.mojom',
107 ], 104 ],
105 'mojom_typemaps': [
106 'mojo/gurl.typemap',
107 'mojo/origin.typemap',
108 ],
108 }, 109 },
109 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 110 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
110 'dependencies': [ 111 'dependencies': [
111 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 112 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
112 'url_interfaces_mojom',
113 ], 113 ],
114 }, 114 },
115 { 115 {
116 'target_name': 'url_test_mojom', 116 'target_name': 'url_test_mojom',
117 'type': 'static_library', 117 'type': 'static_library',
118 'export_dependent_settings': [ 118 'export_dependent_settings': [
119 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 119 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
120 ], 120 ],
121 'dependencies': [ 121 'dependencies': [
122 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 122 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
123 'url_lib',
123 'url_mojom', 124 'url_mojom',
124 'url_test_interfaces_mojom', 125 'url_test_interfaces_mojom',
125 ], 126 ],
126 }, 127 },
127 ], 128 ],
128 'conditions': [ 129 'conditions': [
129 ['OS=="android"', { 130 ['OS=="android"', {
130 'targets': [ 131 'targets': [
131 { 132 {
132 'target_name': 'url_jni_headers', 133 'target_name': 'url_jni_headers',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 '../build/isolate.gypi', 194 '../build/isolate.gypi',
194 ], 195 ],
195 'sources': [ 196 'sources': [
196 'url_unittests.isolate', 197 'url_unittests.isolate',
197 ], 198 ],
198 }, 199 },
199 ], 200 ],
200 }], 201 }],
201 ], 202 ],
202 } 203 }
OLDNEW
« third_party/WebKit/public/BUILD.gn ('K') | « url/mojo/typemaps.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698