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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 'chromeos_schema_files': [ | 112 'chromeos_schema_files': [ |
113 'accessibility_features.json', | 113 'accessibility_features.json', |
114 'diagnostics.idl', | 114 'diagnostics.idl', |
115 'enterprise_platform_keys.idl', | 115 'enterprise_platform_keys.idl', |
116 'enterprise_platform_keys_internal.idl', | 116 'enterprise_platform_keys_internal.idl', |
117 'file_browser_handler_internal.json', | 117 'file_browser_handler_internal.json', |
118 'file_system_provider.idl', | 118 'file_system_provider.idl', |
119 'file_system_provider_internal.idl', | 119 'file_system_provider_internal.idl', |
120 'first_run_private.json', | 120 'first_run_private.json', |
121 'log_private.idl', | 121 'log_private.idl', |
122 ], | |
123 | |
124 # ChromeOS-specific schemas which have not been ported to Athena. | |
125 'chromeos_non_athena_schema_files': [ | |
126 'wallpaper.json', | 122 'wallpaper.json', |
127 'wallpaper_private.json', | 123 'wallpaper_private.json', |
128 ], | 124 ], |
129 | 125 |
130 'webrtc_schema_files': [ | 126 'webrtc_schema_files': [ |
131 'cast_streaming_rtp_stream.idl', | 127 'cast_streaming_rtp_stream.idl', |
132 'cast_streaming_session.idl', | 128 'cast_streaming_session.idl', |
133 'cast_streaming_udp_transport.idl', | 129 'cast_streaming_udp_transport.idl', |
134 ], | 130 ], |
135 | 131 |
(...skipping 11 matching lines...) Expand all Loading... |
147 ], | 143 ], |
148 | 144 |
149 'chromium_code': 1, | 145 'chromium_code': 1, |
150 # Disable schema compiler to generate model extension API code. | 146 # Disable schema compiler to generate model extension API code. |
151 # Only register the extension functions in extension system. | 147 # Only register the extension functions in extension system. |
152 'conditions': [ | 148 'conditions': [ |
153 ['chromeos==1', { | 149 ['chromeos==1', { |
154 'schema_files': [ | 150 'schema_files': [ |
155 '<@(chromeos_schema_files)', | 151 '<@(chromeos_schema_files)', |
156 ], | 152 ], |
157 'conditions': [ | |
158 ['use_athena==0', { | |
159 'schema_files': [ | |
160 '<@(chromeos_non_athena_schema_files)', | |
161 ], | |
162 }], | |
163 ], | |
164 }], | 153 }], |
165 ['enable_webrtc==1', { | 154 ['enable_webrtc==1', { |
166 'schema_files': [ | 155 'schema_files': [ |
167 '<@(webrtc_schema_files)', | 156 '<@(webrtc_schema_files)', |
168 ], | 157 ], |
169 }], | 158 }], |
170 ], | 159 ], |
171 'cc_dir': 'chrome/common/extensions/api', | 160 'cc_dir': 'chrome/common/extensions/api', |
172 'root_namespace': 'extensions::api::%(namespace)s', | 161 'root_namespace': 'extensions::api::%(namespace)s', |
173 'impl_dir_': 'chrome/browser/extensions/api', | 162 'impl_dir_': 'chrome/browser/extensions/api', |
174 }, | 163 }, |
175 } | 164 } |
OLD | NEW |