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

Side by Side Diff: url/mojo/BUILD.gn

Issue 1821073002: Mojo bindings: Fix typemap includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mojo/public/tools/bindings/mojom.gni ('k') | url/mojo/gurl.typemap » ('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 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 mojom("url_mojom") {
jam 2016/03/23 15:18:45 don't we want to generate the non-typemapped url b
Sam McNally 2016/03/23 17:13:14 With a typemap, bindings for other languages will
8 sources = [
9 "origin.mojom",
10 "url.mojom",
11 ]
12 }
13
14 mojom("url_mojom_gurl") { 7 mojom("url_mojom_gurl") {
15 sources = [ 8 sources = [
16 "url.mojom", 9 "url.mojom",
17 ] 10 ]
18 11
19 variant = "chromium"
20 typemaps = [ "gurl.typemap" ] 12 typemaps = [ "gurl.typemap" ]
21
22 public_deps = [
23 ":url_mojom",
24 ]
25 } 13 }
26 14
27 mojom("url_mojom_origin") { 15 mojom("url_mojom_origin") {
28 sources = [ 16 sources = [
29 "origin.mojom", 17 "origin.mojom",
30 ] 18 ]
31 19
32 variant = "chromium"
33 typemaps = [ "origin.typemap" ] 20 typemaps = [ "origin.typemap" ]
34 21
35 public_deps = [ 22 public_deps = [
36 ":url_mojom", 23 ":url_mojom_gurl",
37 ] 24 ]
38 } 25 }
39 26
40 mojom("test_url_mojom_gurl") { 27 mojom("test_url_mojom_gurl") {
41 sources = [ 28 sources = [
42 "url_test.mojom", 29 "url_test.mojom",
43 ] 30 ]
44 31
45 typemaps = [ 32 typemaps = [
46 "gurl.typemap", 33 "gurl.typemap",
47 "origin.typemap", 34 "origin.typemap",
48 ] 35 ]
49 36
50 public_deps = [ 37 public_deps = [
51 ":url_mojom_gurl", 38 ":url_mojom_gurl",
52 ":url_mojom_origin", 39 ":url_mojom_origin",
53 ] 40 ]
54 } 41 }
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | url/mojo/gurl.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698