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