1# Copyright 2016 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_typemap_imports = [ 6 "//ash/public/interfaces/typemaps.gni", 7 "//chrome/common/extensions/typemaps.gni", 8 "//chrome/common/importer/typemaps.gni", 9 "//chrome/common/media_router/mojo/typemaps.gni", 10 "//chrome/typemaps.gni", 11 "//chromecast/common/mojom/typemaps.gni", 12 "//chromeos/typemaps.gni", 13 "//chromeos/services/device_sync/public/mojom/typemaps.gni", 14 "//chromeos/services/secure_channel/public/mojom/typemaps.gni", 15 "//components/arc/common/typemaps.gni", 16 "//components/metrics/public/cpp/typemaps.gni", 17 "//components/sync/mojo/typemaps.gni", 18 "//components/typemaps.gni", 19 "//content/common/bluetooth/typemaps.gni", 20 "//content/common/indexed_db/typemaps.gni", 21 "//content/common/presentation/typemaps.gni", 22 "//content/common/typemaps.gni", 23 "//content/public/common/typemaps.gni", 24 "//device/bluetooth/public/mojom/typemaps.gni", 25 "//device/bluetooth/public/mojom/test/typemaps.gni", 26 "//device/gamepad/public/cpp/typemaps.gni", 27 "//gpu/ipc/common/typemaps.gni", 28 "//ipc/typemaps.gni", 29 "//media/capture/mojom/typemaps.gni", 30 "//media/mojo/interfaces/typemaps.gni", 31 "//mojo/public/cpp/base/typemaps.gni", 32 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", 33 "//net/interfaces/typemaps.gni", 34 "//sandbox/mac/mojom/typemaps.gni", 35 "//services/audio/public/cpp/typemaps.gni", 36 "//services/device/public/mojom/typemaps.gni", 37 "//services/identity/public/cpp/typemaps.gni", 38 "//services/network/public/cpp/typemaps.gni", 39 "//services/preferences/public/cpp/typemaps.gni", 40 "//services/proxy_resolver/public/cpp/typemaps.gni", 41 "//services/resource_coordinator/public/cpp/typemaps.gni", 42 "//services/service_manager/public/cpp/typemaps.gni", 43 "//services/ui/public/interfaces/cursor/typemaps.gni", 44 "//services/ui/public/interfaces/ime/typemaps.gni", 45 "//services/viz/privileged/cpp/typemaps.gni", 46 "//services/viz/privileged/interfaces/compositing/typemaps.gni", 47 "//services/viz/public/cpp/compositing/typemaps.gni", 48 "//services/viz/public/cpp/hit_test/typemaps.gni", 49 "//skia/public/interfaces/typemaps.gni", 50 "//third_party/blink/common/typemaps.gni", 51 "//third_party/blink/public/public_typemaps.gni", 52 "//ui/accessibility/mojom/typemaps.gni", 53 "//ui/base/mojo/typemaps.gni", 54 "//ui/display/mojo/typemaps.gni", 55 "//ui/events/devices/mojo/typemaps.gni", 56 "//ui/events/mojo/typemaps.gni", 57 "//ui/gfx/typemaps.gni", 58 "//ui/latency/mojo/typemaps.gni", 59 "//ui/ozone/public/interfaces/typemaps.gni", 60 "//ui/message_center/public/mojo/typemaps.gni", 61 "//url/mojom/typemaps.gni", 62] 63 64_typemaps = [] 65foreach(typemap_import, _typemap_imports) { 66 # Avoid reassignment error by assigning to empty scope first. 67 _imported = { 68 } 69 _imported = read_file(typemap_import, "scope") 70 _typemaps += _imported.typemaps 71} 72 73typemaps = [] 74foreach(typemap, _typemaps) { 75 typemaps += [ 76 { 77 filename = typemap 78 config = read_file(typemap, "scope") 79 }, 80 ] 81} 82 83component_macro_suffix = "" 84