OLD | NEW |
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 # These duplicate other lists and are the only ones used on Android. They | 10 # These duplicate other lists and are the only ones used on Android. They |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 'web_request.json', | 109 'web_request.json', |
110 # Despite the name, this API does not rely on any | 110 # Despite the name, this API does not rely on any |
111 # WebRTC-specific bits and as such does not belong in | 111 # WebRTC-specific bits and as such does not belong in |
112 # the enable_webrtc==0 section below. | 112 # the enable_webrtc==0 section below. |
113 'webrtc_audio_private.idl', | 113 'webrtc_audio_private.idl', |
114 'webrtc_logging_private.idl', | 114 'webrtc_logging_private.idl', |
115 'webstore_private.json', | 115 'webstore_private.json', |
116 'web_view_internal.json', | 116 'web_view_internal.json', |
117 'windows.json', | 117 'windows.json', |
118 ], | 118 ], |
| 119 'main_schema_include_rules': [ |
| 120 'extensions/common/api:extensions::core_api::%(namespace)s', |
| 121 ], |
119 'main_non_compiled_schema_files': [ | 122 'main_non_compiled_schema_files': [ |
120 'browsing_data.json', | 123 'browsing_data.json', |
121 'chromeos_info_private.json', | 124 'chromeos_info_private.json', |
122 'extension.json', | 125 'extension.json', |
123 'idltest.idl', | 126 'idltest.idl', |
124 'infobars.json', | 127 'infobars.json', |
125 'media_player_private.json', | 128 'media_player_private.json', |
126 'music_manager_private.idl', | 129 'music_manager_private.idl', |
127 'principals_private.idl', | 130 'principals_private.idl', |
128 'top_sites.json', | 131 'top_sites.json', |
(...skipping 21 matching lines...) Expand all Loading... |
150 ], | 153 ], |
151 | 154 |
152 'chromium_code': 1, | 155 'chromium_code': 1, |
153 # Disable schema compiler to generate model extension API code. | 156 # Disable schema compiler to generate model extension API code. |
154 # Only register the extension functions in extension system. | 157 # Only register the extension functions in extension system. |
155 'conditions': [ | 158 'conditions': [ |
156 ['enable_extensions==1', { | 159 ['enable_extensions==1', { |
157 'non_compiled_schema_files': [ | 160 'non_compiled_schema_files': [ |
158 '<@(main_non_compiled_schema_files)', | 161 '<@(main_non_compiled_schema_files)', |
159 ], | 162 ], |
| 163 'schema_dependencies': [ |
| 164 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', |
| 165 ], |
160 'schema_files': [ | 166 'schema_files': [ |
161 '<@(main_schema_files)', | 167 '<@(main_schema_files)', |
162 ], | 168 ], |
| 169 'schema_include_rules': [ |
| 170 '<@(main_schema_include_rules)', |
| 171 ], |
163 }, { # enable_extensions==0 | 172 }, { # enable_extensions==0 |
164 'non_compiled_schema_files': [ | 173 'non_compiled_schema_files': [ |
165 ], | 174 ], |
| 175 'schema_dependencies': [ |
| 176 ], |
166 'schema_files': [ | 177 'schema_files': [ |
167 # These should be eliminated. See crbug.com/305852. | 178 # These should be eliminated. See crbug.com/305852. |
168 '<@(android_schema_files)', | 179 '<@(android_schema_files)', |
169 ], | 180 ], |
170 }], | 181 }], |
171 ['chromeos==1', { | 182 ['chromeos==1', { |
172 'schema_files': [ | 183 'schema_files': [ |
173 '<@(chromeos_schema_files)', | 184 '<@(chromeos_schema_files)', |
174 ], | 185 ], |
175 }], | 186 }], |
176 ['enable_extensions==1 and enable_webrtc==1', { | 187 ['enable_extensions==1 and enable_webrtc==1', { |
177 'schema_files': [ | 188 'schema_files': [ |
178 '<@(webrtc_schema_files)', | 189 '<@(webrtc_schema_files)', |
179 ], | 190 ], |
180 }], | 191 }], |
181 ], | 192 ], |
182 'cc_dir': 'chrome/common/extensions/api', | 193 'cc_dir': 'chrome/common/extensions/api', |
183 'root_namespace': 'extensions::api::%(namespace)s', | 194 'root_namespace': 'extensions::api::%(namespace)s', |
184 'impl_dir_': 'chrome/browser/extensions/api', | 195 'impl_dir_': 'chrome/browser/extensions/api', |
185 }, | 196 }, |
186 } | 197 } |
OLD | NEW |