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

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

Issue 2083463002: Replace //net TypeConverters with StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-converter-cleanup--gurl
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
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",
11 "//components/typemaps.gni", 11 "//components/typemaps.gni",
12 "//content/common/bluetooth/typemaps.gni", 12 "//content/common/bluetooth/typemaps.gni",
13 "//content/common/typemaps.gni", 13 "//content/common/typemaps.gni",
14 "//content/public/common/typemaps.gni", 14 "//content/public/common/typemaps.gni",
15 "//device/bluetooth/public/interfaces/typemaps.gni", 15 "//device/bluetooth/public/interfaces/typemaps.gni",
16 "//device/generic_sensor/public/interfaces/typemaps.gni", 16 "//device/generic_sensor/public/interfaces/typemaps.gni",
17 "//gpu/ipc/common/typemaps.gni", 17 "//gpu/ipc/common/typemaps.gni",
18 "//media/mojo/interfaces/typemaps.gni", 18 "//media/mojo/interfaces/typemaps.gni",
19 "//mojo/common/typemaps.gni", 19 "//mojo/common/typemaps.gni",
20 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", 20 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni",
21 "//net/interfaces/typemaps.gni",
21 "//services/shell/public/cpp/typemaps.gni", 22 "//services/shell/public/cpp/typemaps.gni",
22 "//services/ui/public/interfaces/display/typemaps.gni", 23 "//services/ui/public/interfaces/display/typemaps.gni",
23 "//skia/public/interfaces/typemaps.gni", 24 "//skia/public/interfaces/typemaps.gni",
24 "//third_party/WebKit/public/public_typemaps.gni", 25 "//third_party/WebKit/public/public_typemaps.gni",
25 "//ui/base/mojo/typemaps.gni", 26 "//ui/base/mojo/typemaps.gni",
26 "//ui/events/devices/mojo/typemaps.gni", 27 "//ui/events/devices/mojo/typemaps.gni",
27 "//ui/events/mojo/typemaps.gni", 28 "//ui/events/mojo/typemaps.gni",
28 "//ui/gfx/typemaps.gni", 29 "//ui/gfx/typemaps.gni",
29 "//url/mojo/typemaps.gni", 30 "//url/mojo/typemaps.gni",
30 ] 31 ]
31 _typemaps = [] 32 _typemaps = []
32 33
33 foreach(typemap_import, _typemap_imports) { 34 foreach(typemap_import, _typemap_imports) {
34 # Avoid reassignment error by assigning to empty scope first. 35 # Avoid reassignment error by assigning to empty scope first.
35 _imported = { 36 _imported = {
36 } 37 }
37 _imported = read_file(typemap_import, "scope") 38 _imported = read_file(typemap_import, "scope")
38 _typemaps += _imported.typemaps 39 _typemaps += _imported.typemaps
39 } 40 }
40 41
41 typemaps = [] 42 typemaps = []
42 foreach(typemap, _typemaps) { 43 foreach(typemap, _typemaps) {
43 typemaps += [ read_file(typemap, "scope") ] 44 typemaps += [ read_file(typemap, "scope") ]
44 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698