Move chrome.diagnostics API to extensions/.
[chromium-blink-merge.git] / extensions / common / api / schemas.gypi
blob478dcde83d3f905f2b566513d9e3b415050b8529
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     'chromium_code': 1,
11     'schema_files': [
12       'alarms.idl',
13       'app_current_window_internal.idl',
14       'app_runtime.idl',
15       'app_view_guest_internal.json',
16       'app_window.idl',
17       'audio.idl',
18       'bluetooth.idl',
19       'bluetooth_low_energy.idl',
20       'bluetooth_private.json',
21       'bluetooth_socket.idl',
22       'cast_channel.idl',
23       'copresence_endpoints.idl',
24       'dns.idl',
25       'events.json',
26       'extensions_manifest_types.json',
27       'extension_options_internal.idl',
28       'extension_view_internal.json',
29       'extension_types.json',
30       'guest_view_internal.json',
31       'management.json',
32       'hid.idl',
33       'idle.json',
34       'mime_handler_private.idl',
35       'mime_handler_view_guest_internal.json',
36       'mojo_private.idl',
37       'networking_private.json',
38       'power.idl',
39       'printer_provider.idl',
40       'printer_provider_internal.idl',
41       'runtime.json',
42       'serial.idl',
43       'socket.idl',
44       'sockets_tcp.idl',
45       'sockets_tcp_server.idl',
46       'sockets_udp.idl',
47       'storage.json',
48       'surface_worker_internal.json',
49       'system_cpu.idl',
50       'system_display.idl',
51       'system_memory.idl',
52       'system_network.idl',
53       'system_storage.idl',
54       'test.json',
55       'usb.idl',
56       'virtual_keyboard_private.json',
57       'web_request.json',
58       'web_view_internal.json'
59     ],
60     # ChromeOS-specific schemas.
61     'chromeos_schema_files': [
62       'diagnostics.idl',
63       'networking_config.idl',
64       'vpn_provider.idl',
65       'webcam_private.idl',
66     ],
67     'non_compiled_schema_files': [
68       'web_request_internal.json',
69     ],
70     'conditions': [
71       ['chromeos==1', {
72         'schema_files': [
73           '<@(chromeos_schema_files)',
74         ],
75       }]
76     ],
77     'cc_dir': 'extensions/common/api',
78     'root_namespace': 'extensions::core_api::%(namespace)s',
79     'impl_dir_': 'extensions/browser/api',
80   },