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