| 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 "//components/typemaps.gni", | |
| 7 "//gpu/ipc/common/typemaps.gni", | 6 "//gpu/ipc/common/typemaps.gni", |
| 8 "//mojo/common/typemaps.gni", | 7 "//mojo/common/typemaps.gni", |
| 9 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", | 8 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", |
| 10 "//url/mojo/typemaps.gni", | 9 "//url/mojo/typemaps.gni", |
| 11 ] | 10 ] |
| 12 _typemaps = [] | 11 _typemaps = [] |
| 13 | 12 |
| 14 foreach(typemap_import, _typemap_imports) { | 13 foreach(typemap_import, _typemap_imports) { |
| 15 _imported = read_file(typemap_import, "scope") | 14 _imported = read_file(typemap_import, "scope") |
| 16 _typemaps += _imported.typemaps | 15 _typemaps += _imported.typemaps |
| 17 } | 16 } |
| 18 | 17 |
| 19 typemaps = [] | 18 typemaps = [] |
| 20 foreach(typemap, _typemaps) { | 19 foreach(typemap, _typemaps) { |
| 21 typemaps += [ read_file(typemap, "scope") ] | 20 typemaps += [ read_file(typemap, "scope") ] |
| 22 } | 21 } |
| OLD | NEW |