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 "//ash/public/interfaces/typemaps.gni", | 6 "//ash/public/interfaces/typemaps.gni", |
7 "//cc/ipc/typemaps.gni", | 7 "//cc/ipc/typemaps.gni", |
8 "//chrome/browser/media/router/mojo/typemaps.gni", | 8 "//chrome/browser/media/router/mojo/typemaps.gni", |
9 "//components/arc/common/typemaps.gni", | 9 "//components/arc/common/typemaps.gni", |
10 "//components/metrics/public/cpp/typemaps.gni", | 10 "//components/metrics/public/cpp/typemaps.gni", |
11 "//components/typemaps.gni", | 11 "//components/typemaps.gni", |
12 "//content/common/bluetooth/typemaps.gni", | 12 "//content/common/bluetooth/typemaps.gni", |
13 "//content/common/typemaps.gni", | 13 "//content/common/typemaps.gni", |
14 "//content/public/common/typemaps.gni", | 14 "//content/public/common/typemaps.gni", |
15 "//device/bluetooth/public/interfaces/typemaps.gni", | 15 "//device/bluetooth/public/interfaces/typemaps.gni", |
16 "//device/generic_sensor/public/interfaces/typemaps.gni", | 16 "//device/generic_sensor/public/interfaces/typemaps.gni", |
17 "//gpu/ipc/common/typemaps.gni", | 17 "//gpu/ipc/common/typemaps.gni", |
18 "//media/mojo/interfaces/typemaps.gni", | 18 "//media/mojo/interfaces/typemaps.gni", |
19 "//mojo/common/typemaps.gni", | 19 "//mojo/common/typemaps.gni", |
20 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", | 20 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", |
| 21 "//net/interfaces/typemaps.gni", |
21 "//services/shell/public/cpp/typemaps.gni", | 22 "//services/shell/public/cpp/typemaps.gni", |
22 "//services/ui/public/interfaces/display/typemaps.gni", | 23 "//services/ui/public/interfaces/display/typemaps.gni", |
23 "//skia/public/interfaces/typemaps.gni", | 24 "//skia/public/interfaces/typemaps.gni", |
24 "//third_party/WebKit/public/public_typemaps.gni", | 25 "//third_party/WebKit/public/public_typemaps.gni", |
25 "//ui/base/mojo/typemaps.gni", | 26 "//ui/base/mojo/typemaps.gni", |
26 "//ui/events/devices/mojo/typemaps.gni", | 27 "//ui/events/devices/mojo/typemaps.gni", |
27 "//ui/events/mojo/typemaps.gni", | 28 "//ui/events/mojo/typemaps.gni", |
28 "//ui/gfx/typemaps.gni", | 29 "//ui/gfx/typemaps.gni", |
29 "//url/mojo/typemaps.gni", | 30 "//url/mojo/typemaps.gni", |
30 ] | 31 ] |
31 _typemaps = [] | 32 _typemaps = [] |
32 | 33 |
33 foreach(typemap_import, _typemap_imports) { | 34 foreach(typemap_import, _typemap_imports) { |
34 # Avoid reassignment error by assigning to empty scope first. | 35 # Avoid reassignment error by assigning to empty scope first. |
35 _imported = { | 36 _imported = { |
36 } | 37 } |
37 _imported = read_file(typemap_import, "scope") | 38 _imported = read_file(typemap_import, "scope") |
38 _typemaps += _imported.typemaps | 39 _typemaps += _imported.typemaps |
39 } | 40 } |
40 | 41 |
41 typemaps = [] | 42 typemaps = [] |
42 foreach(typemap, _typemaps) { | 43 foreach(typemap, _typemaps) { |
43 typemaps += [ read_file(typemap, "scope") ] | 44 typemaps += [ read_file(typemap, "scope") ] |
44 } | 45 } |
OLD | NEW |