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

Side by Side Diff: chrome/common/extensions/api/schemas.gypi

Issue 1554983002: Build chrome.input.ime.* API in GN mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on cl:1570723002 Created 4 years, 11 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 | « chrome/common/extensions/api/schemas.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'sources': [ 6 'sources': [
7 '<@(schema_files)', 7 '<@(schema_files)',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'main_schema_files': [ 10 'main_schema_files': [
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 'mdns.idl', 139 'mdns.idl',
140 ], 140 ],
141 141
142 'webrtc_schema_files': [ 142 'webrtc_schema_files': [
143 'cast_streaming_receiver_session.idl', 143 'cast_streaming_receiver_session.idl',
144 'cast_streaming_rtp_stream.idl', 144 'cast_streaming_rtp_stream.idl',
145 'cast_streaming_session.idl', 145 'cast_streaming_session.idl',
146 'cast_streaming_udp_transport.idl', 146 'cast_streaming_udp_transport.idl',
147 ], 147 ],
148 148
149 # Input IME schema.
150 'input_ime_schema_file': [
151 'input_ime.json',
152 ],
153
149 'non_compiled_schema_files': [ 154 'non_compiled_schema_files': [
150 '<@(main_non_compiled_schema_files)', 155 '<@(main_non_compiled_schema_files)',
151 ], 156 ],
152 'schema_dependencies': [ 157 'schema_dependencies': [
153 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', 158 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
154 ], 159 ],
155 'schema_files': [ 160 'schema_files': [
156 '<@(main_schema_files)', 161 '<@(main_schema_files)',
157 ], 162 ],
158 'schema_include_rules': [ 163 'schema_include_rules': [
159 '<@(main_schema_include_rules)', 164 '<@(main_schema_include_rules)',
160 ], 165 ],
161 166
162 'chromium_code': 1, 167 'chromium_code': 1,
163 # Disable schema compiler to generate model extension API code. 168 # Disable schema compiler to generate model extension API code.
164 # Only register the extension functions in extension system. 169 # Only register the extension functions in extension system.
165 'conditions': [ 170 'conditions': [
166 ['chromeos==1', { 171 ['chromeos==1', {
167 'schema_files': [ 172 'schema_files': [
168 '<@(chromeos_schema_files)', 173 '<@(chromeos_schema_files)',
169 ], 174 ],
170 'non_compiled_schema_files': [ 175 'non_compiled_schema_files': [
171 '<@(chromeos_non_compiled_schema_files)', 176 '<@(chromeos_non_compiled_schema_files)',
172 ], 177 ],
173 }], 178 }, { # chromeos==0
174 ['OS=="linux" or OS=="win"', { 179 'conditions': [
175 'schema_files': [ 180 ['OS=="linux" or OS=="win"', {
176 » 'input_ime.json', 181 'schema_files': [
177 » ], 182 '<@(input_ime_schema_file)',
183 ],
184 }],
185 ],
178 }], 186 }],
179 ['enable_service_discovery==1', { 187 ['enable_service_discovery==1', {
180 'schema_files': [ 188 'schema_files': [
181 '<@(service_discovery_schema_files)', 189 '<@(service_discovery_schema_files)',
182 ], 190 ],
183 }], 191 }],
184 ['enable_webrtc==1', { 192 ['enable_webrtc==1', {
185 'schema_files': [ 193 'schema_files': [
186 '<@(webrtc_schema_files)', 194 '<@(webrtc_schema_files)',
187 ], 195 ],
188 }], 196 }],
189 ], 197 ],
190 'cc_dir': 'chrome/common/extensions/api', 198 'cc_dir': 'chrome/common/extensions/api',
191 'root_namespace': 'extensions::api::%(namespace)s', 199 'root_namespace': 'extensions::api::%(namespace)s',
192 'bundle_name': 'Chrome', 200 'bundle_name': 'Chrome',
193 'impl_dir_': 'chrome/browser/extensions/api', 201 'impl_dir_': 'chrome/browser/extensions/api',
194 }, 202 },
195 } 203 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/schemas.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698