OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 _typemap_imports = [ | 5 _typemap_imports = [ |
6 "//cc/ipc/typemaps.gni", | 6 "//cc/ipc/typemaps.gni", |
7 "//chrome/browser/media/router/mojo/typemaps.gni", | 7 "//chrome/browser/media/router/mojo/typemaps.gni", |
8 "//components/arc/common/typemaps.gni", | 8 "//components/arc/common/typemaps.gni", |
9 "//components/typemaps.gni", | 9 "//components/typemaps.gni", |
| 10 "//content/browser/indexed_db/typemaps.gni", |
10 "//content/common/bluetooth/typemaps.gni", | 11 "//content/common/bluetooth/typemaps.gni", |
11 "//content/common/typemaps.gni", | 12 "//content/common/typemaps.gni", |
12 "//device/bluetooth/public/interfaces/typemaps.gni", | 13 "//device/bluetooth/public/interfaces/typemaps.gni", |
13 "//gpu/ipc/common/typemaps.gni", | 14 "//gpu/ipc/common/typemaps.gni", |
14 "//media/mojo/interfaces/typemaps.gni", | 15 "//media/mojo/interfaces/typemaps.gni", |
15 "//mojo/common/typemaps.gni", | 16 "//mojo/common/typemaps.gni", |
16 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", | 17 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", |
17 "//services/shell/public/cpp/typemaps.gni", | 18 "//services/shell/public/cpp/typemaps.gni", |
18 "//services/ui/public/interfaces/display/typemaps.gni", | 19 "//services/ui/public/interfaces/display/typemaps.gni", |
19 "//skia/public/interfaces/typemaps.gni", | 20 "//skia/public/interfaces/typemaps.gni", |
20 "//ui/events/devices/mojo/typemaps.gni", | 21 "//ui/events/devices/mojo/typemaps.gni", |
21 "//ui/events/mojo/typemaps.gni", | 22 "//ui/events/mojo/typemaps.gni", |
22 "//ui/gfx/typemaps.gni", | 23 "//ui/gfx/typemaps.gni", |
23 "//url/mojo/typemaps.gni", | 24 "//url/mojo/typemaps.gni", |
24 ] | 25 ] |
25 _typemaps = [] | 26 _typemaps = [] |
26 | 27 |
27 foreach(typemap_import, _typemap_imports) { | 28 foreach(typemap_import, _typemap_imports) { |
28 # Avoid reassignment error by assigning to empty scope first. | 29 # Avoid reassignment error by assigning to empty scope first. |
29 _imported = { | 30 _imported = { |
30 } | 31 } |
31 _imported = read_file(typemap_import, "scope") | 32 _imported = read_file(typemap_import, "scope") |
32 _typemaps += _imported.typemaps | 33 _typemaps += _imported.typemaps |
33 } | 34 } |
34 | 35 |
35 typemaps = [] | 36 typemaps = [] |
36 foreach(typemap, _typemaps) { | 37 foreach(typemap, _typemaps) { |
37 typemaps += [ read_file(typemap, "scope") ] | 38 typemaps += [ read_file(typemap, "scope") ] |
38 } | 39 } |
OLD | NEW |