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 "//ash/public/interfaces/typemaps.gni", | 6 "//ash/public/interfaces/typemaps.gni", |
7 "//cc/ipc/typemaps.gni", | 7 "//cc/ipc/typemaps.gni", |
8 "//chrome/common/extensions/typemaps.gni", | 8 "//chrome/common/extensions/typemaps.gni", |
9 "//chrome/common/importer/typemaps.gni", | 9 "//chrome/common/importer/typemaps.gni", |
10 "//chrome/common/media_router/mojo/typemaps.gni", | 10 "//chrome/common/media_router/mojo/typemaps.gni", |
(...skipping 30 matching lines...) Expand all Loading... |
41 "//ui/events/devices/mojo/typemaps.gni", | 41 "//ui/events/devices/mojo/typemaps.gni", |
42 "//ui/events/mojo/typemaps.gni", | 42 "//ui/events/mojo/typemaps.gni", |
43 "//ui/gfx/typemaps.gni", | 43 "//ui/gfx/typemaps.gni", |
44 "//ui/latency/mojo/typemaps.gni", | 44 "//ui/latency/mojo/typemaps.gni", |
45 "//ui/message_center/mojo/typemaps.gni", | 45 "//ui/message_center/mojo/typemaps.gni", |
46 "//url/mojo/typemaps.gni", | 46 "//url/mojo/typemaps.gni", |
47 ] | 47 ] |
48 | 48 |
49 _typemap_imports_mac = [ "//content/common/typemaps_mac.gni" ] | 49 _typemap_imports_mac = [ "//content/common/typemaps_mac.gni" ] |
50 | 50 |
| 51 _typemap_imports_chromeos = |
| 52 [ "//ui/display/manager/chromeos/mojo/typemaps.gni" ] |
| 53 |
51 _typemaps = [] | 54 _typemaps = [] |
52 foreach(typemap_import, _typemap_imports) { | 55 foreach(typemap_import, _typemap_imports) { |
53 # Avoid reassignment error by assigning to empty scope first. | 56 # Avoid reassignment error by assigning to empty scope first. |
54 _imported = { | 57 _imported = { |
55 } | 58 } |
56 _imported = read_file(typemap_import, "scope") | 59 _imported = read_file(typemap_import, "scope") |
57 _typemaps += _imported.typemaps | 60 _typemaps += _imported.typemaps |
58 } | 61 } |
59 | 62 |
60 typemaps = [] | 63 typemaps = [] |
(...skipping 13 matching lines...) Expand all Loading... |
74 } | 77 } |
75 | 78 |
76 typemaps_mac = [] | 79 typemaps_mac = [] |
77 foreach(typemap, _typemaps_mac) { | 80 foreach(typemap, _typemaps_mac) { |
78 typemaps_mac += [ { | 81 typemaps_mac += [ { |
79 filename = typemap | 82 filename = typemap |
80 config = read_file(typemap, "scope") | 83 config = read_file(typemap, "scope") |
81 } ] | 84 } ] |
82 } | 85 } |
83 | 86 |
| 87 _typemaps_chromeos = [] |
| 88 foreach(typemap_import, _typemap_imports_chromeos) { |
| 89 _imported = { |
| 90 } |
| 91 _imported = read_file(typemap_import, "scope") |
| 92 _typemaps_chromeos += _imported.typemaps |
| 93 } |
| 94 |
| 95 typemaps_chromeos = [] |
| 96 foreach(typemap, _typemaps_chromeos) { |
| 97 typemaps_chromeos += [ { |
| 98 filename = typemap |
| 99 config = read_file(typemap, "scope") |
| 100 } ] |
| 101 } |
| 102 |
84 component_macro_suffix = "" | 103 component_macro_suffix = "" |
OLD | NEW |