Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: mojo/public/tools/bindings/chromium_bindings_configuration.gni

Issue 2400313002: Convert miscellaneous RenderThreadImpl messages to mojom (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "//components/arc/common/typemaps.gni", 9 "//components/arc/common/typemaps.gni",
10 "//components/metrics/public/cpp/typemaps.gni", 10 "//components/metrics/public/cpp/typemaps.gni",
(...skipping 12 matching lines...) Expand all
23 "//services/ui/public/interfaces/display/typemaps.gni", 23 "//services/ui/public/interfaces/display/typemaps.gni",
24 "//services/video_capture/public/interfaces/typemaps.gni", 24 "//services/video_capture/public/interfaces/typemaps.gni",
25 "//skia/public/interfaces/typemaps.gni", 25 "//skia/public/interfaces/typemaps.gni",
26 "//third_party/WebKit/public/public_typemaps.gni", 26 "//third_party/WebKit/public/public_typemaps.gni",
27 "//ui/base/mojo/typemaps.gni", 27 "//ui/base/mojo/typemaps.gni",
28 "//ui/events/devices/mojo/typemaps.gni", 28 "//ui/events/devices/mojo/typemaps.gni",
29 "//ui/events/mojo/typemaps.gni", 29 "//ui/events/mojo/typemaps.gni",
30 "//ui/gfx/typemaps.gni", 30 "//ui/gfx/typemaps.gni",
31 "//url/mojo/typemaps.gni", 31 "//url/mojo/typemaps.gni",
32 ] 32 ]
33
34 _typemap_imports_mac = [ "//content/common/typemaps_mac.gni" ]
35
33 _typemaps = [] 36 _typemaps = []
34
35 foreach(typemap_import, _typemap_imports) { 37 foreach(typemap_import, _typemap_imports) {
36 # Avoid reassignment error by assigning to empty scope first. 38 # Avoid reassignment error by assigning to empty scope first.
37 _imported = { 39 _imported = {
38 } 40 }
39 _imported = read_file(typemap_import, "scope") 41 _imported = read_file(typemap_import, "scope")
40 _typemaps += _imported.typemaps 42 _typemaps += _imported.typemaps
41 } 43 }
42 44
43 typemaps = [] 45 typemaps = []
44 foreach(typemap, _typemaps) { 46 foreach(typemap, _typemaps) {
45 typemaps += [ read_file(typemap, "scope") ] 47 typemaps += [ read_file(typemap, "scope") ]
46 } 48 }
49
50 _typemaps_mac = []
51 foreach(typemap_import, _typemap_imports_mac) {
52 _imported = {
53 }
54 _imported = read_file(typemap_import, "scope")
55 _typemaps_mac += _imported.typemaps
56 }
57
58 typemaps_mac = []
59 foreach(typemap, _typemaps_mac) {
60 typemaps_mac += [ read_file(typemap, "scope") ]
61 }
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698