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

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

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 "//cc/ipc/typemaps.gni", 6 "//cc/ipc/typemaps.gni",
7 "//components/typemaps.gni", 7 "//components/typemaps.gni",
8 "//gpu/ipc/common/typemaps.gni", 8 "//gpu/ipc/common/typemaps.gni",
9 "//media/mojo/interfaces/typemaps.gni", 9 "//media/mojo/interfaces/typemaps.gni",
10 "//mojo/common/typemaps.gni", 10 "//mojo/common/typemaps.gni",
11 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", 11 "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni",
12 "//ui/gfx/typemaps.gni",
12 "//url/mojo/typemaps.gni", 13 "//url/mojo/typemaps.gni",
13 ] 14 ]
14 _typemaps = [] 15 _typemaps = []
15 16
16 foreach(typemap_import, _typemap_imports) { 17 foreach(typemap_import, _typemap_imports) {
17 _imported = read_file(typemap_import, "scope") 18 _imported = read_file(typemap_import, "scope")
18 _typemaps += _imported.typemaps 19 _typemaps += _imported.typemaps
19 } 20 }
20 21
21 typemaps = [] 22 typemaps = []
22 foreach(typemap, _typemaps) { 23 foreach(typemap, _typemaps) {
23 typemaps += [ read_file(typemap, "scope") ] 24 typemaps += [ read_file(typemap, "scope") ]
24 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698