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