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("../../../mojo_sdk_root.gni") | 5 import("//build/module_args/mojo.gni") |
6 import("$mojo_sdk_root/mojo/public/tools/bindings/mojom.gni") | 6 import("$mojo_sdk_root/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 "../../../geometry/public/interfaces", | 19 "../../../geometry/public/interfaces", |
20 "../../../gpu/public/interfaces", | 20 "../../../gpu/public/interfaces", |
21 "../../../native_viewport/public/interfaces", | 21 "../../../native_viewport/public/interfaces", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 mojom("surface_id") { | 25 mojom("surface_id") { |
26 sources = [ | 26 sources = [ |
27 "surface_id.mojom", | 27 "surface_id.mojom", |
28 ] | 28 ] |
29 } | 29 } |
OLD | NEW |