Move webstorePrivate DelegatedInstall functions into new dashboardPrivate API
[chromium-blink-merge.git] / chrome / common / extensions / api / schemas.gypi
blob9d2568c211efa09b877924d819ad3ec731d202fc
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
3 # found in the LICENSE file.
6   'sources': [
7     '<@(schema_files)',
8   ],
9   'variables': {
10     'main_schema_files': [
11       'accessibility_features.json',
12       'accessibility_private.json',
13       'activity_log_private.json',
14       'audio_modem.idl',
15       'autofill_private.idl',
16       'automation.idl',
17       'automation_internal.idl',
18       'autotest_private.idl',
19       'bookmark_manager_private.json',
20       'bookmarks.json',
21       'braille_display_private.idl',
22       'browser.idl',
23       'chrome_web_view_internal.json',
24       'cloud_print_private.json',
25       'command_line_private.json',
26       'content_settings.json',
27       'context_menus_internal.json',
28       'context_menus.json',
29       'cookies.json',
30       'copresence.idl',
31       'copresence_private.idl',
32       'cryptotoken_private.idl',
33       'dashboard_private.json',
34       'data_reduction_proxy.json',
35       'debugger.json',
36       'desktop_capture.json',
37       'developer_private.idl',
38       'dial.idl',
39       'downloads.idl',
40       'downloads_internal.idl',
41       'easy_unlock_private.idl',
42       'experience_sampling_private.json',
43       'feedback_private.idl',
44       'file_system.idl',
45       'font_settings.json',
46       'gcd_private.idl',
47       'gcm.json',
48       'hangouts_private.idl',
49       'history.json',
50       'hotword_private.idl',
51       'i18n.json',
52       'identity.idl',
53       'identity_private.idl',
54       'image_writer_private.idl',
55       'inline_install_private.idl',
56       'instance_id.json',
57       'language_settings_private.idl',
58       'launcher_page.idl',
59       'location.idl',
60       'manifest_types.json',
61       'mdns.idl',
62       'media_galleries.idl',
63       'metrics_private.json',
64       'notification_provider.idl',
65       'notifications.idl',
66       'omnibox.json',
67       'page_capture.json',
68       'passwords_private.idl',
69       'permissions.json',
70       'preferences_private.json',
71       'reading_list_private.json',
72       'screenlock_private.idl',
73       'search_engines_private.idl',
74       'sessions.json',
75       'settings_private.idl',
76       'signed_in_devices.idl',
77       'streams_private.idl',
78       'sync_file_system.idl',
79       'system_indicator.idl',
80       'system_private.json',
81       'tab_capture.idl',
82       'tabs.json',
83       'types.json',
84       'web_navigation.json',
85       # Despite the name, this API does not rely on any
86       # WebRTC-specific bits and as such does not belong in
87       # the enable_webrtc==0 section below.
88       'webrtc_audio_private.idl',
89       'webrtc_desktop_capture_private.idl',
90       'webrtc_logging_private.idl',
91       'webstore_private.json',
92       'webstore_widget_private.idl',
93       'windows.json',
94     ],
95     'main_schema_include_rules': [
96       'extensions/common/api:extensions::api::%(namespace)s',
97     ],
98     'main_non_compiled_schema_files': [
99       'browsing_data.json',
100       'extension.json',
101       'idltest.idl',
102       'music_manager_private.idl',
103       'principals_private.idl',
104       'top_sites.json',
105     ],
107     # ChromeOS-specific schemas.
108     'chromeos_schema_files': [
109       'echo_private.json',
110       'enterprise_platform_keys.idl',
111       'enterprise_platform_keys_internal.idl',
112       'enterprise_platform_keys_private.json',
113       'file_browser_handler_internal.json',
114       'file_manager_private.idl',
115       'file_manager_private_internal.idl',
116       'file_system_provider.idl',
117       'file_system_provider_internal.idl',
118       'first_run_private.json',
119       'input_ime.json',
120       'launcher_search_provider.idl',
121       'log_private.idl',
122       'platform_keys.idl',
123       'platform_keys_internal.idl',
124       'terminal_private.json',
125       'users_private.idl',
126       'wallpaper.json',
127       'wallpaper_private.json',
128     ],
129     'chromeos_non_compiled_schema_files': [
130       'chromeos_info_private.json',
131       'media_player_private.json',
132     ],
134     'webrtc_schema_files': [
135       'cast_streaming_receiver_session.idl',
136       'cast_streaming_rtp_stream.idl',
137       'cast_streaming_session.idl',
138       'cast_streaming_udp_transport.idl',
139     ],
141     'non_compiled_schema_files': [
142       '<@(main_non_compiled_schema_files)',
143     ],
144     'schema_dependencies': [
145       '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
146     ],
147     'schema_files': [
148       '<@(main_schema_files)',
149     ],
150     'schema_include_rules': [
151       '<@(main_schema_include_rules)',
152     ],
154     'chromium_code': 1,
155     # Disable schema compiler to generate model extension API code.
156     # Only register the extension functions in extension system.
157     'conditions': [
158       ['chromeos==1', {
159         'schema_files': [
160           '<@(chromeos_schema_files)',
161         ],
162         'non_compiled_schema_files': [
163           '<@(chromeos_non_compiled_schema_files)',
164         ],
165       }],
166       ['enable_webrtc==1', {
167         'schema_files': [
168           '<@(webrtc_schema_files)',
169         ],
170       }],
171     ],
172     'cc_dir': 'chrome/common/extensions/api',
173     'root_namespace': 'extensions::api::%(namespace)s',
174     'bundle_name': 'Chrome',
175     'impl_dir_': 'chrome/browser/extensions/api',
176   },