blob: 806f4fcb60f5ed3dbf48089e5dd30d6271ec3601 [file] [log] [blame]
# 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 = [
"//ash/public/interfaces/typemaps.gni",
"//cc/ipc/typemaps.gni",
"//chrome/browser/media/router/mojo/typemaps.gni",
"//components/arc/common/typemaps.gni",
"//components/metrics/public/cpp/typemaps.gni",
"//components/typemaps.gni",
"//content/common/bluetooth/typemaps.gni",
"//content/common/typemaps.gni",
"//device/bluetooth/public/interfaces/typemaps.gni",
"//device/generic_sensor/public/interfaces/typemaps.gni",
"//gpu/ipc/common/typemaps.gni",
"//media/mojo/interfaces/typemaps.gni",
"//mojo/common/typemaps.gni",
"//mojo/public/cpp/bindings/tests/chromium_typemaps.gni",
"//services/shell/public/cpp/typemaps.gni",
"//services/ui/public/interfaces/display/typemaps.gni",
"//skia/public/interfaces/typemaps.gni",
"//ui/base/mojo/typemaps.gni",
"//ui/events/devices/mojo/typemaps.gni",
"//ui/events/mojo/typemaps.gni",
"//ui/gfx/typemaps.gni",
"//url/mojo/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 += [ read_file(typemap, "scope") ]
}