| 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("$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 |
| 24 import_from = mojo_root |
| 23 } | 25 } |
| 24 | 26 |
| 25 mojom("surface_id") { | 27 mojom("surface_id") { |
| 26 sources = [ | 28 sources = [ |
| 27 "surface_id.mojom", | 29 "surface_id.mojom", |
| 28 ] | 30 ] |
| 31 |
| 32 import_from = mojo_root |
| 29 } | 33 } |
| OLD | NEW |