aboutsummaryrefslogtreecommitdiff
path: root/mojo/public/tools/bindings/blink_bindings_configuration.gni
blob: bb0fc432a368d5f9618b5e383314be8275dc2b2e (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
# 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.

variant = "blink"

for_blink = true

_typemap_imports = [
  "//mojo/public/cpp/bindings/tests/blink_typemaps.gni",
  "//third_party/WebKit/Source/platform/mojo/blink_typemaps.gni",
  "//third_party/WebKit/public/blink_typemaps.gni",
  "//third_party/WebKit/public/public_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")
      } ]
}

blacklist = []