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

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

Issue 2691483005: Mojo Bindings: Put typemap files in the build dependency tree (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | mojo/public/tools/bindings/chromium_bindings_configuration.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 variant = "blink" 5 variant = "blink"
6 6
7 for_blink = true 7 for_blink = true
8 8
9 _typemap_imports = [ 9 _typemap_imports = [
10 "//mojo/public/cpp/bindings/tests/blink_typemaps.gni", 10 "//mojo/public/cpp/bindings/tests/blink_typemaps.gni",
11 "//third_party/WebKit/Source/platform/mojo/blink_typemaps.gni", 11 "//third_party/WebKit/Source/platform/mojo/blink_typemaps.gni",
12 "//third_party/WebKit/public/blink_typemaps.gni", 12 "//third_party/WebKit/public/blink_typemaps.gni",
13 "//third_party/WebKit/public/public_typemaps.gni", 13 "//third_party/WebKit/public/public_typemaps.gni",
14 ] 14 ]
15 _typemaps = [] 15 _typemaps = []
16 16
17 foreach(typemap_import, _typemap_imports) { 17 foreach(typemap_import, _typemap_imports) {
18 # Avoid reassignment error by assigning to empty scope first. 18 # Avoid reassignment error by assigning to empty scope first.
19 _imported = { 19 _imported = {
20 } 20 }
21 _imported = read_file(typemap_import, "scope") 21 _imported = read_file(typemap_import, "scope")
22 _typemaps += _imported.typemaps 22 _typemaps += _imported.typemaps
23 } 23 }
24 24
25 typemaps = [] 25 typemaps = []
26 foreach(typemap, _typemaps) { 26 foreach(typemap, _typemaps) {
27 typemaps += [ read_file(typemap, "scope") ] 27 typemaps += [ {
28 filename = typemap
29 config = read_file(typemap, "scope")
30 } ]
28 } 31 }
29 32
30 blacklist = [ 33 blacklist = [
31 # TODO(sammc): Remove the following once |for_blink| bindings support WTF 34 # TODO(sammc): Remove the following once |for_blink| bindings support WTF
32 # maps with enum keys. See https://crbug.com/583738. 35 # maps with enum keys. See https://crbug.com/583738.
33 "//mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom", 36 "//mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom",
34 ] 37 ]
OLDNEW
« no previous file with comments | « no previous file | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698