OLD | NEW |
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_gurl") { | 7 mojom("url_mojom_gurl") { |
8 sources = [ | 8 sources = [ |
9 "url.mojom", | 9 "url.mojom", |
10 ] | 10 ] |
11 | |
12 typemaps = [ "gurl.typemap" ] | |
13 } | 11 } |
14 | 12 |
15 mojom("url_mojom_origin") { | 13 mojom("url_mojom_origin") { |
16 sources = [ | 14 sources = [ |
17 "origin.mojom", | 15 "origin.mojom", |
18 ] | 16 ] |
19 | 17 |
20 typemaps = [ "origin.typemap" ] | |
21 | |
22 public_deps = [ | 18 public_deps = [ |
23 ":url_mojom_gurl", | 19 ":url_mojom_gurl", |
24 ] | 20 ] |
25 } | 21 } |
26 | 22 |
27 mojom("test_url_mojom_gurl") { | 23 mojom("test_url_mojom_gurl") { |
28 sources = [ | 24 sources = [ |
29 "url_test.mojom", | 25 "url_test.mojom", |
30 ] | 26 ] |
31 | 27 |
32 typemaps = [ | |
33 "gurl.typemap", | |
34 "origin.typemap", | |
35 ] | |
36 | |
37 public_deps = [ | 28 public_deps = [ |
38 ":url_mojom_gurl", | 29 ":url_mojom_gurl", |
39 ":url_mojom_origin", | 30 ":url_mojom_origin", |
40 ] | 31 ] |
41 } | 32 } |
OLD | NEW |