| 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/browser/media/router/mojo/typemaps.gni", | 8 "//chrome/browser/media/router/mojo/typemaps.gni", |
| 9 "//chrome/common/extensions/typemaps.gni", | 9 "//chrome/common/extensions/typemaps.gni", |
| 10 "//chrome/common/importer/typemaps.gni", | 10 "//chrome/common/importer/typemaps.gni", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 "//services/ui/public/interfaces/display/typemaps.gni", | 30 "//services/ui/public/interfaces/display/typemaps.gni", |
| 31 "//services/ui/public/interfaces/ime/typemaps.gni", | 31 "//services/ui/public/interfaces/ime/typemaps.gni", |
| 32 "//services/video_capture/public/interfaces/typemaps.gni", | 32 "//services/video_capture/public/interfaces/typemaps.gni", |
| 33 "//skia/public/interfaces/typemaps.gni", | 33 "//skia/public/interfaces/typemaps.gni", |
| 34 "//third_party/WebKit/public/public_typemaps.gni", | 34 "//third_party/WebKit/public/public_typemaps.gni", |
| 35 "//ui/base/mojo/typemaps.gni", | 35 "//ui/base/mojo/typemaps.gni", |
| 36 "//ui/events/devices/mojo/typemaps.gni", | 36 "//ui/events/devices/mojo/typemaps.gni", |
| 37 "//ui/events/mojo/typemaps.gni", | 37 "//ui/events/mojo/typemaps.gni", |
| 38 "//ui/gfx/typemaps.gni", | 38 "//ui/gfx/typemaps.gni", |
| 39 "//ui/message_center/mojo/typemaps.gni", | 39 "//ui/message_center/mojo/typemaps.gni", |
| 40 "//ui/ozone/common/mojo/typemaps.gni", |
| 40 "//url/mojo/typemaps.gni", | 41 "//url/mojo/typemaps.gni", |
| 41 ] | 42 ] |
| 42 | 43 |
| 43 _typemap_imports_mac = [ "//content/common/typemaps_mac.gni" ] | 44 _typemap_imports_mac = [ "//content/common/typemaps_mac.gni" ] |
| 44 | 45 |
| 45 _typemaps = [] | 46 _typemaps = [] |
| 46 foreach(typemap_import, _typemap_imports) { | 47 foreach(typemap_import, _typemap_imports) { |
| 47 # Avoid reassignment error by assigning to empty scope first. | 48 # Avoid reassignment error by assigning to empty scope first. |
| 48 _imported = { | 49 _imported = { |
| 49 } | 50 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 61 _imported = { | 62 _imported = { |
| 62 } | 63 } |
| 63 _imported = read_file(typemap_import, "scope") | 64 _imported = read_file(typemap_import, "scope") |
| 64 _typemaps_mac += _imported.typemaps | 65 _typemaps_mac += _imported.typemaps |
| 65 } | 66 } |
| 66 | 67 |
| 67 typemaps_mac = [] | 68 typemaps_mac = [] |
| 68 foreach(typemap, _typemaps_mac) { | 69 foreach(typemap, _typemaps_mac) { |
| 69 typemaps_mac += [ read_file(typemap, "scope") ] | 70 typemaps_mac += [ read_file(typemap, "scope") ] |
| 70 } | 71 } |
| OLD | NEW |