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

Side by Side Diff: chrome/common/extensions/api/api.gyp

Issue 487533005: Add support for references in different paths in apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renaming core_api::types->core_api::extension_types. Created 6 years, 3 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # All files are stored in these lists which are referenced in the target 6 # All files are stored in these lists which are referenced in the target
7 # below so that the GN build of this target can read in this dictionary and 7 # below so that the GN build of this target can read in this dictionary and
8 # duplicate the same logic without the lists getting out-of-sync. The GN 8 # duplicate the same logic without the lists getting out-of-sync. The GN
9 # .gypi reader can not process conditions and does not know about targets, 9 # .gypi reader can not process conditions and does not know about targets,
10 # etc., it just reads Python dictionaries. 10 # etc., it just reads Python dictionaries.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 'web_request.json', 114 'web_request.json',
115 # Despite the name, this API does not rely on any 115 # Despite the name, this API does not rely on any
116 # WebRTC-specific bits and as such does not belong in 116 # WebRTC-specific bits and as such does not belong in
117 # the enable_webrtc==0 section below. 117 # the enable_webrtc==0 section below.
118 'webrtc_audio_private.idl', 118 'webrtc_audio_private.idl',
119 'webrtc_logging_private.idl', 119 'webrtc_logging_private.idl',
120 'webstore_private.json', 120 'webstore_private.json',
121 'web_view_internal.json', 121 'web_view_internal.json',
122 'windows.json', 122 'windows.json',
123 ], 123 ],
124 'main_schema_includes': [
not at google - send to devlin 2014/08/25 22:22:46 -include-dirs?
lfg 2014/08/26 16:15:21 Changed to include_rules, to use the same standard
125 '<(DEPTH)/extensions/common/api:extensions::core_api::%(namespace)s',
126 ],
124 'main_non_compiled_schema_files': [ 127 'main_non_compiled_schema_files': [
125 'browsing_data.json', 128 'browsing_data.json',
126 'chromeos_info_private.json', 129 'chromeos_info_private.json',
127 'extension.json', 130 'extension.json',
128 'idltest.idl', 131 'idltest.idl',
129 'infobars.json', 132 'infobars.json',
130 'media_player_private.json', 133 'media_player_private.json',
131 'music_manager_private.idl', 134 'music_manager_private.idl',
132 'principals_private.idl', 135 'principals_private.idl',
133 'top_sites.json', 136 'top_sites.json',
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 # Disable schema compiler to generate model extension API code. 179 # Disable schema compiler to generate model extension API code.
177 # Only register the extension functions in extension system. 180 # Only register the extension functions in extension system.
178 'conditions': [ 181 'conditions': [
179 ['enable_extensions==1', { 182 ['enable_extensions==1', {
180 'non_compiled_schema_files': [ 183 'non_compiled_schema_files': [
181 '<@(main_non_compiled_schema_files)', 184 '<@(main_non_compiled_schema_files)',
182 ], 185 ],
183 'schema_files': [ 186 'schema_files': [
184 '<@(main_schema_files)', 187 '<@(main_schema_files)',
185 ], 188 ],
189 'schema_includes': [
190 '<@(main_schema_includes)',
191 ],
186 }, { # enable_extensions==0 192 }, { # enable_extensions==0
187 'non_compiled_schema_files': [ 193 'non_compiled_schema_files': [
188 ], 194 ],
189 'schema_files': [ 195 'schema_files': [
190 # These should be eliminated. See crbug.com/305852. 196 # These should be eliminated. See crbug.com/305852.
191 '<@(android_schema_files)', 197 '<@(android_schema_files)',
192 ], 198 ],
193 }], 199 }],
194 ['chromeos==1', { 200 ['chromeos==1', {
195 'schema_files': [ 201 'schema_files': [
(...skipping 27 matching lines...) Expand all
223 'conditions': [ 229 'conditions': [
224 ['chromeos==1', { 230 ['chromeos==1', {
225 'dependencies': [ 231 'dependencies': [
226 '<(DEPTH)/chrome/chrome.gyp:drive_proto', 232 '<(DEPTH)/chrome/chrome.gyp:drive_proto',
227 ], 233 ],
228 }], 234 }],
229 ], 235 ],
230 }, 236 },
231 ], 237 ],
232 } 238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698