| # 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/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/sync/mojom/typemaps.gni", |
| "//components/typemaps.gni", |
| "//content/browser/typemaps.gni", |
| "//content/common/typemaps.gni", |
| "//content/public/common/typemaps.gni", |
| "//device/bluetooth/public/mojom/typemaps.gni", |
| "//device/bluetooth/public/mojom/test/typemaps.gni", |
| "//device/gamepad/public/cpp/typemaps.gni", |
| "//fuchsia/mojom/test_typemaps.gni", |
| "//gpu/ipc/common/typemaps.gni", |
| "//ipc/typemaps.gni", |
| "//media/capture/mojom/typemaps.gni", |
| "//media/fuchsia/mojom/typemaps.gni", |
| "//media/learning/mojo/public/cpp/typemaps.gni", |
| "//media/mojo/mojom/typemaps.gni", |
| "//mojo/public/cpp/base/typemaps.gni", |
| "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", |
| "//sandbox/mac/mojom/typemaps.gni", |
| "//services/audio/public/cpp/typemaps.gni", |
| "//services/device/public/mojom/typemaps.gni", |
| "//services/identity/public/cpp/typemaps.gni", |
| "//services/media_session/public/cpp/typemaps.gni", |
| "//services/network/public/cpp/typemaps.gni", |
| "//services/preferences/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", |
| "//services/viz/privileged/cpp/typemaps.gni", |
| "//services/viz/privileged/mojom/compositing/typemaps.gni", |
| "//services/viz/public/cpp/compositing/typemaps.gni", |
| "//services/viz/public/cpp/hit_test/typemaps.gni", |
| "//skia/public/mojom/typemaps.gni", |
| "//third_party/blink/common/typemaps.gni", |
| "//third_party/blink/public/public_typemaps.gni", |
| "//ui/accessibility/mojom/typemaps.gni", |
| "//ui/base/accelerators/mojom/typemaps.gni", |
| "//ui/base/ime/mojom/typemaps.gni", |
| "//ui/base/mojom/typemaps.gni", |
| "//ui/display/mojom/typemaps.gni", |
| "//ui/events/mojom/typemaps.gni", |
| "//ui/gfx/typemaps.gni", |
| "//ui/latency/mojom/typemaps.gni", |
| "//ui/ozone/public/mojom/typemaps.gni", |
| "//url/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 = "" |