| 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/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 mojom("interfaces") { | 8 mojom("interfaces") { |
| 9 sources = [ | 9 sources = [ |
| 10 "accessibility_manager.mojom", | 10 "accessibility_manager.mojom", |
| 11 "clipboard.mojom", | 11 "clipboard.mojom", |
| 12 "cursor.mojom", | |
| 13 "display_manager.mojom", | 12 "display_manager.mojom", |
| 14 "event_matcher.mojom", | 13 "event_matcher.mojom", |
| 15 "gpu.mojom", | 14 "gpu.mojom", |
| 16 "mus_constants.mojom", | 15 "mus_constants.mojom", |
| 17 "user_access_manager.mojom", | 16 "user_access_manager.mojom", |
| 18 "user_activity_monitor.mojom", | 17 "user_activity_monitor.mojom", |
| 19 "window_manager.mojom", | 18 "window_manager.mojom", |
| 20 "window_manager_constants.mojom", | 19 "window_manager_constants.mojom", |
| 21 "window_manager_window_tree_factory.mojom", | 20 "window_manager_window_tree_factory.mojom", |
| 22 "window_server_test.mojom", | 21 "window_server_test.mojom", |
| 23 "window_tree.mojom", | 22 "window_tree.mojom", |
| 24 "window_tree_constants.mojom", | 23 "window_tree_constants.mojom", |
| 25 "window_tree_host.mojom", | 24 "window_tree_host.mojom", |
| 26 ] | 25 ] |
| 27 | 26 |
| 28 import_dirs = [ | 27 import_dirs = [ |
| 29 get_path_info("../../../..", "abspath"), | 28 get_path_info("../../../..", "abspath"), |
| 30 "//mojo/services", | 29 "//mojo/services", |
| 31 ] | 30 ] |
| 32 | 31 |
| 33 public_deps = [ | 32 public_deps = [ |
| 34 ":constants", | 33 ":constants", |
| 35 "//cc/ipc:interfaces", | 34 "//cc/ipc:interfaces", |
| 36 "//gpu/ipc/common:interfaces", | 35 "//gpu/ipc/common:interfaces", |
| 36 "//services/ui/public/interfaces/cursor", |
| 37 "//services/ui/public/interfaces/display", | 37 "//services/ui/public/interfaces/display", |
| 38 "//services/ui/public/interfaces/ime", | 38 "//services/ui/public/interfaces/ime", |
| 39 "//skia/public/interfaces", | 39 "//skia/public/interfaces", |
| 40 "//ui/base/mojo:mojo_bindings", | 40 "//ui/base/mojo:mojo_bindings", |
| 41 "//ui/display/mojo:interfaces", | 41 "//ui/display/mojo:interfaces", |
| 42 "//ui/events/mojo:interfaces", | 42 "//ui/events/mojo:interfaces", |
| 43 "//ui/gfx/geometry/mojo", | 43 "//ui/gfx/geometry/mojo", |
| 44 "//ui/gfx/mojo", | 44 "//ui/gfx/mojo", |
| 45 "//ui/platform_window/mojo:interfaces", | 45 "//ui/platform_window/mojo:interfaces", |
| 46 ] | 46 ] |
| 47 } | 47 } |
| 48 | 48 |
| 49 mojom("constants") { | 49 mojom("constants") { |
| 50 sources = [ | 50 sources = [ |
| 51 "constants.mojom", | 51 "constants.mojom", |
| 52 ] | 52 ] |
| 53 } | 53 } |
| 54 | 54 |
| 55 test("ui_struct_traits_unittests") { | 55 test("ui_struct_traits_unittests") { |
| 56 testonly = true | 56 testonly = true |
| 57 | 57 |
| 58 sources = [ | 58 sources = [ |
| 59 "cursor/cursor_struct_traits_unittest.cc", |
| 59 "ime/ime_struct_traits_unittest.cc", | 60 "ime/ime_struct_traits_unittest.cc", |
| 60 ] | 61 ] |
| 61 | 62 |
| 62 deps = [ | 63 deps = [ |
| 63 "//base", | 64 "//base", |
| 64 "//base/test:test_support", | 65 "//base/test:test_support", |
| 65 "//mojo/edk/test:run_all_unittests", | 66 "//mojo/edk/test:run_all_unittests", |
| 67 "//services/ui/public/interfaces/cursor", |
| 66 "//services/ui/public/interfaces/ime:test_interfaces", | 68 "//services/ui/public/interfaces/ime:test_interfaces", |
| 69 "//skia/public/interfaces", |
| 67 "//testing/gtest", | 70 "//testing/gtest", |
| 68 "//ui/display/types", | 71 "//ui/display/types", |
| 69 "//ui/gfx:test_support", | 72 "//ui/gfx:test_support", |
| 70 ] | 73 ] |
| 71 } | 74 } |
| OLD | NEW |