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