summaryrefslogtreecommitdiff
path: root/chromium/extensions/common/api/schema.gni
blob: ca6bc918e3422d16360562e2a8d0dc71d50c8a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

extensions_api_schema_files_ = [
  "alarms.idl",
  "app_current_window_internal.idl",
  "app_runtime.idl",
  "app_view_guest_internal.json",
  "app_window.idl",
  "audio.idl",
  "bluetooth.idl",
  "bluetooth_low_energy.idl",
  "bluetooth_private.idl",
  "bluetooth_socket.idl",
  "cast_channel.idl",
  "clipboard.idl",
  "document_scan.idl",
  "display_source.idl",
  "dns.idl",
  "events.json",
  "extensions_manifest_types.json",
  "extension_options_internal.idl",
  "extension_view_internal.json",
  "extension_types.json",
  "guest_view_internal.json",
  "management.json",
  "hid.idl",
  "idle.json",
  "metrics_private.json",
  "mime_handler_private.idl",
  "mime_handler_view_guest_internal.json",
  "mojo_private.idl",
  "networking_private.idl",
  "power.idl",
  "printer_provider.idl",
  "printer_provider_internal.idl",
  "runtime.json",
  "serial.idl",
  "socket.idl",
  "sockets_tcp.idl",
  "sockets_tcp_server.idl",
  "sockets_udp.idl",
  "storage.json",
  "system_cpu.idl",
  "system_display.idl",
  "system_memory.idl",
  "system_network.idl",
  "system_storage.idl",
  "test.json",
  "usb.idl",
  "virtual_keyboard.idl",
  "virtual_keyboard_private.json",
  "web_request.json",
  "web_view_internal.json",
]

if (is_chromeos) {
  extensions_api_schema_files_ += [
    "diagnostics.idl",
    "networking_config.idl",
    "vpn_provider.idl",
    "webcam_private.idl",
  ]
}

extensions_api_schema_files =
    get_path_info(extensions_api_schema_files_, "abspath")

extensions_api_uncompiled_sources =
    get_path_info([ "web_request_internal.json" ], "abspath")

extensions_api_uncompiled_bundle_schema_sources =
    get_path_info([
                    "declarative_web_request.json",
                    "web_view_request.json",
                  ],
                  "abspath")

extensions_api_root_namespace = "extensions::api::%(namespace)s"