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 "//components/typemaps.gni", | 7 "//components/typemaps.gni", |
8 "//gpu/ipc/common/typemaps.gni", | 8 "//gpu/ipc/common/typemaps.gni", |
9 "//media/mojo/interfaces/typemaps.gni", | 9 "//media/mojo/interfaces/typemaps.gni", |
10 "//mojo/common/typemaps.gni", | 10 "//mojo/common/typemaps.gni", |
11 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", | 11 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", |
12 "//skia/public/interfaces/typemaps.gni", | 12 "//skia/public/interfaces/typemaps.gni", |
13 "//ui/events/mojo/typemaps.gni", | 13 "//ui/events/mojo/typemaps.gni", |
14 "//ui/events/devices/mojo/typemaps.gni", | |
sadrul
2016/06/08 16:31:09
sort
kylechar
2016/06/08 18:13:16
Done.
| |
14 "//ui/gfx/typemaps.gni", | 15 "//ui/gfx/typemaps.gni", |
15 "//url/mojo/typemaps.gni", | 16 "//url/mojo/typemaps.gni", |
16 ] | 17 ] |
17 _typemaps = [] | 18 _typemaps = [] |
18 | 19 |
19 foreach(typemap_import, _typemap_imports) { | 20 foreach(typemap_import, _typemap_imports) { |
20 _imported = read_file(typemap_import, "scope") | 21 _imported = read_file(typemap_import, "scope") |
21 _typemaps += _imported.typemaps | 22 _typemaps += _imported.typemaps |
22 } | 23 } |
23 | 24 |
24 typemaps = [] | 25 typemaps = [] |
25 foreach(typemap, _typemaps) { | 26 foreach(typemap, _typemaps) { |
26 typemaps += [ read_file(typemap, "scope") ] | 27 typemaps += [ read_file(typemap, "scope") ] |
27 } | 28 } |
OLD | NEW |