summaryrefslogtreecommitdiff
path: root/utils/ipc/mojo/public/tools/bindings/chromium_bindings_configuration.gni
blob: d8a1387448562056a600804c668c1bf4f544b776 (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
# 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.

_typemap_imports = [
  "//chrome/chrome_cleaner/mojom/typemaps/typemaps.gni",
  "//chrome/common/importer/typemaps.gni",
  "//chrome/common/media_router/mojom/typemaps.gni",
  "//chrome/typemaps.gni",
  "//chromecast/typemaps.gni",
  "//chromeos/typemaps.gni",
  "//chromeos/components/multidevice/mojom/typemaps.gni",
  "//chromeos/services/cros_healthd/public/mojom/typemaps.gni",
  "//chromeos/services/device_sync/public/mojom/typemaps.gni",
  "//chromeos/services/network_config/public/mojom/typemaps.gni",
  "//chromeos/services/secure_channel/public/mojom/typemaps.gni",
  "//components/arc/mojom/typemaps.gni",
  "//components/chromeos_camera/common/typemaps.gni",
  "//components/services/storage/public/cpp/filesystem/typemaps.gni",
  "//components/sync/mojom/typemaps.gni",
  "//components/typemaps.gni",
  "//content/browser/typemaps.gni",
  "//content/public/common/typemaps.gni",
  "//sandbox/mac/mojom/typemaps.gni",
  "//services/media_session/public/cpp/typemaps.gni",
  "//services/proxy_resolver/public/cpp/typemaps.gni",
  "//services/resource_coordinator/public/cpp/typemaps.gni",
  "//services/service_manager/public/cpp/typemaps.gni",
  "//services/tracing/public/mojom/typemaps.gni",
]

_typemaps = []
foreach(typemap_import, _typemap_imports) {
  # Avoid reassignment error by assigning to empty scope first.
  _imported = {
  }
  _imported = read_file(typemap_import, "scope")
  _typemaps += _imported.typemaps
}

typemaps = []
foreach(typemap, _typemaps) {
  typemaps += [
    {
      filename = typemap
      config = read_file(typemap, "scope")
    },
  ]
}

component_macro_suffix = ""