OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 mojom("interfaces") { | 8 mojom("interfaces") { |
9 sources = [ | 9 sources = [ |
10 "display.mojom", | 10 "display.mojom", |
11 "quads.mojom", | 11 "quads.mojom", |
12 "surfaces.mojom", | 12 "surfaces.mojom", |
13 ] | 13 ] |
14 | 14 |
15 import_dirs = [ get_path_info("../../../", "abspath") ] | 15 import_dirs = [ get_path_info("../../../", "abspath") ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 ":surface_id", | 18 ":surface_id", |
19 "//components/gpu/public/interfaces", | 19 "//components/view_manager/public/interfaces", |
20 "//ui/mojo/geometry:interfaces", | 20 "//ui/mojo/geometry:interfaces", |
21 ] | 21 ] |
22 } | 22 } |
23 | 23 |
24 mojom("surface_id") { | 24 mojom("surface_id") { |
25 sources = [ | 25 sources = [ |
26 "surface_id.mojom", | 26 "surface_id.mojom", |
27 ] | 27 ] |
28 } | 28 } |
OLD | NEW |