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 'main_schema_files': [ | 10 'main_schema_files': [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 'hangouts_private.idl', | 48 'hangouts_private.idl', |
49 'history.json', | 49 'history.json', |
50 'hotword_private.idl', | 50 'hotword_private.idl', |
51 'i18n.json', | 51 'i18n.json', |
52 'identity.idl', | 52 'identity.idl', |
53 'identity_private.idl', | 53 'identity_private.idl', |
54 'image_writer_private.idl', | 54 'image_writer_private.idl', |
55 'inline_install_private.idl', | 55 'inline_install_private.idl', |
56 'instance_id.json', | 56 'instance_id.json', |
57 'language_settings_private.idl', | 57 'language_settings_private.idl', |
58 'launcher_page.idl', | |
59 'location.idl', | 58 'location.idl', |
60 'manifest_types.json', | 59 'manifest_types.json', |
61 'media_galleries.idl', | 60 'media_galleries.idl', |
62 'metrics_private.json', | 61 'metrics_private.json', |
63 'notification_provider.idl', | 62 'notification_provider.idl', |
64 'notifications.idl', | 63 'notifications.idl', |
65 'omnibox.json', | 64 'omnibox.json', |
66 'page_capture.json', | 65 'page_capture.json', |
67 'passwords_private.idl', | 66 'passwords_private.idl', |
68 'permissions.json', | 67 'permissions.json', |
(...skipping 15 matching lines...) Expand all Loading... |
84 # Despite the name, this API does not rely on any | 83 # Despite the name, this API does not rely on any |
85 # WebRTC-specific bits and as such does not belong in | 84 # WebRTC-specific bits and as such does not belong in |
86 # the enable_webrtc==0 section below. | 85 # the enable_webrtc==0 section below. |
87 'webrtc_audio_private.idl', | 86 'webrtc_audio_private.idl', |
88 'webrtc_desktop_capture_private.idl', | 87 'webrtc_desktop_capture_private.idl', |
89 'webrtc_logging_private.idl', | 88 'webrtc_logging_private.idl', |
90 'webstore_private.json', | 89 'webstore_private.json', |
91 'webstore_widget_private.idl', | 90 'webstore_widget_private.idl', |
92 'windows.json', | 91 'windows.json', |
93 ], | 92 ], |
| 93 'app_list_schema_files': [ |
| 94 'launcher_page.idl', |
| 95 ], |
94 'main_schema_include_rules': [ | 96 'main_schema_include_rules': [ |
95 'extensions/common/api:extensions::api::%(namespace)s', | 97 'extensions/common/api:extensions::api::%(namespace)s', |
96 ], | 98 ], |
97 'main_non_compiled_schema_files': [ | 99 'main_non_compiled_schema_files': [ |
98 'browsing_data.json', | 100 'browsing_data.json', |
99 'extension.json', | 101 'extension.json', |
100 'idltest.idl', | 102 'idltest.idl', |
101 'music_manager_private.idl', | 103 'music_manager_private.idl', |
102 'principals_private.idl', | 104 'principals_private.idl', |
103 'top_sites.json', | 105 'top_sites.json', |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 '<@(main_schema_files)', | 164 '<@(main_schema_files)', |
163 ], | 165 ], |
164 'schema_include_rules': [ | 166 'schema_include_rules': [ |
165 '<@(main_schema_include_rules)', | 167 '<@(main_schema_include_rules)', |
166 ], | 168 ], |
167 | 169 |
168 'chromium_code': 1, | 170 'chromium_code': 1, |
169 # Disable schema compiler to generate model extension API code. | 171 # Disable schema compiler to generate model extension API code. |
170 # Only register the extension functions in extension system. | 172 # Only register the extension functions in extension system. |
171 'conditions': [ | 173 'conditions': [ |
| 174 ['enable_app_list==1', { |
| 175 'schema_files': [ |
| 176 '<@(app_list_schema_files)', |
| 177 ], |
| 178 }], |
172 ['chromeos==1', { | 179 ['chromeos==1', { |
173 'schema_files': [ | 180 'schema_files': [ |
174 '<@(chromeos_schema_files)', | 181 '<@(chromeos_schema_files)', |
175 ], | 182 ], |
176 'non_compiled_schema_files': [ | 183 'non_compiled_schema_files': [ |
177 '<@(chromeos_non_compiled_schema_files)', | 184 '<@(chromeos_non_compiled_schema_files)', |
178 ], | 185 ], |
179 }, { # chromeos==0 | 186 }, { # chromeos==0 |
180 'conditions': [ | 187 'conditions': [ |
181 ['OS=="linux" or OS=="win"', { | 188 ['OS=="linux" or OS=="win"', { |
(...skipping 13 matching lines...) Expand all Loading... |
195 '<@(webrtc_schema_files)', | 202 '<@(webrtc_schema_files)', |
196 ], | 203 ], |
197 }], | 204 }], |
198 ], | 205 ], |
199 'cc_dir': 'chrome/common/extensions/api', | 206 'cc_dir': 'chrome/common/extensions/api', |
200 'root_namespace': 'extensions::api::%(namespace)s', | 207 'root_namespace': 'extensions::api::%(namespace)s', |
201 'bundle_name': 'Chrome', | 208 'bundle_name': 'Chrome', |
202 'impl_dir_': 'chrome/browser/extensions/api', | 209 'impl_dir_': 'chrome/browser/extensions/api', |
203 }, | 210 }, |
204 } | 211 } |
OLD | NEW |