| 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 | |
| 54 _typemaps = [] | 51 _typemaps = [] |
| 55 foreach(typemap_import, _typemap_imports) { | 52 foreach(typemap_import, _typemap_imports) { |
| 56 # Avoid reassignment error by assigning to empty scope first. | 53 # Avoid reassignment error by assigning to empty scope first. |
| 57 _imported = { | 54 _imported = { |
| 58 } | 55 } |
| 59 _imported = read_file(typemap_import, "scope") | 56 _imported = read_file(typemap_import, "scope") |
| 60 _typemaps += _imported.typemaps | 57 _typemaps += _imported.typemaps |
| 61 } | 58 } |
| 62 | 59 |
| 63 typemaps = [] | 60 typemaps = [] |
| (...skipping 13 matching lines...) Expand all Loading... |
| 77 } | 74 } |
| 78 | 75 |
| 79 typemaps_mac = [] | 76 typemaps_mac = [] |
| 80 foreach(typemap, _typemaps_mac) { | 77 foreach(typemap, _typemaps_mac) { |
| 81 typemaps_mac += [ { | 78 typemaps_mac += [ { |
| 82 filename = typemap | 79 filename = typemap |
| 83 config = read_file(typemap, "scope") | 80 config = read_file(typemap, "scope") |
| 84 } ] | 81 } ] |
| 85 } | 82 } |
| 86 | 83 |
| 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 | |
| 103 component_macro_suffix = "" | 84 component_macro_suffix = "" |
| OLD | NEW |