Properly attach InfoBarContainer when it is swapped to a new WebContents
[chromium-blink-merge.git] / chrome / common / extensions / api / schemas.gypi
blob97d39314f6e4bec41d42071dfb42c8c7584edbe3
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       'automation.idl',
16       'automation_internal.idl',
17       'autotest_private.idl',
18       'bookmark_manager_private.json',
19       'bookmarks.json',
20       'braille_display_private.idl',
21       'browser.idl',
22       'chrome_web_view_internal.json',
23       'cloud_print_private.json',
24       'command_line_private.json',
25       'content_settings.json',
26       'context_menus_internal.json',
27       'context_menus.json',
28       'cookies.json',
29       'copresence.idl',
30       'copresence_private.idl',
31       'cryptotoken_private.idl',
32       'data_reduction_proxy.json',
33       'debugger.json',
34       'desktop_capture.json',
35       'developer_private.idl',
36       'dial.idl',
37       'downloads.idl',
38       'downloads_internal.idl',
39       'easy_unlock_private.idl',
40       'experience_sampling_private.json',
41       'feedback_private.idl',
42       'file_manager_private.idl',
43       'file_manager_private_internal.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       'launcher_page.idl',
57       'location.idl',
58       'manifest_types.json',
59       'mdns.idl',
60       'media_galleries.idl',
61       'metrics_private.json',
62       'notification_provider.idl',
63       'notifications.idl',
64       'omnibox.json',
65       'page_capture.json',
66       'permissions.json',
67       'preferences_private.json',
68       'reading_list_private.json',
69       'screenlock_private.idl',
70       'sessions.json',
71       'settings_private.idl',
72       'signed_in_devices.idl',
73       'streams_private.idl',
74       'sync_file_system.idl',
75       'system_indicator.idl',
76       'system_private.json',
77       'tab_capture.idl',
78       'tabs.json',
79       'types.json',
80       'web_navigation.json',
81       # Despite the name, this API does not rely on any
82       # WebRTC-specific bits and as such does not belong in
83       # the enable_webrtc==0 section below.
84       'webrtc_audio_private.idl',
85       'webrtc_logging_private.idl',
86       'webstore_private.json',
87       'windows.json',
88     ],
89     'main_schema_include_rules': [
90       'extensions/common/api:extensions::core_api::%(namespace)s',
91     ],
92     'main_non_compiled_schema_files': [
93       'browsing_data.json',
94       'extension.json',
95       'idltest.idl',
96       'music_manager_private.idl',
97       'principals_private.idl',
98       'top_sites.json',
99     ],
101     # ChromeOS-specific schemas.
102     'chromeos_schema_files': [
103       'echo_private.json',
104       'enterprise_platform_keys.idl',
105       'enterprise_platform_keys_internal.idl',
106       'enterprise_platform_keys_private.json',
107       'file_browser_handler_internal.json',
108       'file_system_provider.idl',
109       'file_system_provider_internal.idl',
110       'first_run_private.json',
111       'input_ime.json',
112       'launcher_search_provider.idl',
113       'log_private.idl',
114       'platform_keys.idl',
115       'platform_keys_internal.idl',
116       'terminal_private.json',
117       'wallpaper.json',
118       'wallpaper_private.json',
119     ],
120     'chromeos_non_compiled_schema_files': [
121       'chromeos_info_private.json',
122       'media_player_private.json',
123     ],
125     'webrtc_schema_files': [
126       'cast_streaming_receiver_session.idl',
127       'cast_streaming_rtp_stream.idl',
128       'cast_streaming_session.idl',
129       'cast_streaming_udp_transport.idl',
130     ],
132     'non_compiled_schema_files': [
133       '<@(main_non_compiled_schema_files)',
134     ],
135     'schema_dependencies': [
136       '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
137     ],
138     'schema_files': [
139       '<@(main_schema_files)',
140     ],
141     'schema_include_rules': [
142       '<@(main_schema_include_rules)',
143     ],
145     'chromium_code': 1,
146     # Disable schema compiler to generate model extension API code.
147     # Only register the extension functions in extension system.
148     'conditions': [
149       ['chromeos==1', {
150         'schema_files': [
151           '<@(chromeos_schema_files)',
152         ],
153         'non_compiled_schema_files': [
154           '<@(chromeos_non_compiled_schema_files)',
155         ],
156       }],
157       ['enable_webrtc==1', {
158         'schema_files': [
159           '<@(webrtc_schema_files)',
160         ],
161       }],
162     ],
163     'cc_dir': 'chrome/common/extensions/api',
164     'root_namespace': 'extensions::api::%(namespace)s',
165     'impl_dir_': 'chrome/browser/extensions/api',
166   },