OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
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_private.idl', | |
20 'bluetooth_socket.idl', | |
21 'cast_channel.idl', | |
22 'clipboard.idl', | |
23 'document_scan.idl', | |
24 'display_source.idl', | |
25 'dns.idl', | |
26 'events.json', | |
27 'extensions_manifest_types.json', | |
28 'extension_options_internal.idl', | |
29 'extension_view_internal.json', | |
30 'extension_types.json', | |
31 'guest_view_internal.json', | |
32 'management.json', | |
33 'hid.idl', | |
34 'idle.json', | |
35 'mime_handler_private.idl', | |
36 'mime_handler_view_guest_internal.json', | |
37 'mojo_private.idl', | |
38 'networking_private.idl', | |
39 'power.idl', | |
40 'printer_provider.idl', | |
41 'printer_provider_internal.idl', | |
42 'runtime.json', | |
43 'serial.idl', | |
44 'socket.idl', | |
45 'sockets_tcp.idl', | |
46 'sockets_tcp_server.idl', | |
47 'sockets_udp.idl', | |
48 'storage.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 'non_compiled_bundle_schema_files': [ | |
71 'declarative_web_request.json', | |
72 'web_view_request.json', | |
73 ], | |
74 'conditions': [ | |
75 ['chromeos==1', { | |
76 'schema_files': [ | |
77 '<@(chromeos_schema_files)', | |
78 ], | |
79 }] | |
80 ], | |
81 'cc_dir': 'extensions/common/api', | |
82 'root_namespace': 'extensions::api::%(namespace)s', | |
83 'bundle_name': '', | |
84 'impl_dir_': 'extensions/browser/api', | |
85 }, | |
86 } | |
OLD | NEW |