• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5variant = "blink"
6
7for_blink = true
8
9_typemap_imports = [
10  "//device/gamepad/public/cpp/typemaps.gni",
11  "//mojo/public/cpp/bindings/tests/blink_typemaps.gni",
12  "//third_party/blink/renderer/platform/mojo/blink_typemaps.gni",
13  "//third_party/blink/public/blink_typemaps.gni",
14]
15_typemaps = []
16
17foreach(typemap_import, _typemap_imports) {
18  # Avoid reassignment error by assigning to empty scope first.
19  _imported = {
20  }
21  _imported = read_file(typemap_import, "scope")
22  _typemaps += _imported.typemaps
23}
24
25typemaps = []
26foreach(typemap, _typemaps) {
27  typemaps += [
28    {
29      filename = typemap
30      config = read_file(typemap, "scope")
31    },
32  ]
33}
34
35blacklist = []
36component_macro_suffix = "_BLINK"
37