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