| 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_use_new_wrappers") { |
| 9 sources = [ | 9 sources = [ |
| 10 "accessibility_manager.mojom", | 10 "accessibility_manager.mojom", |
| 11 "animations.mojom", | 11 "animations.mojom", |
| 12 "clipboard.mojom", | |
| 13 "cursor.mojom", | 12 "cursor.mojom", |
| 14 "display_manager.mojom", | 13 "display_manager.mojom", |
| 15 "event_matcher.mojom", | 14 "event_matcher.mojom", |
| 16 "gpu_memory_buffer.mojom", | 15 "gpu_memory_buffer.mojom", |
| 17 "gpu_service.mojom", | 16 "gpu_service.mojom", |
| 18 "ime.mojom", | 17 "ime.mojom", |
| 19 "mus_constants.mojom", | 18 "mus_constants.mojom", |
| 20 "user_access_manager.mojom", | 19 "user_access_manager.mojom", |
| 21 "user_activity_monitor.mojom", | 20 "user_activity_monitor.mojom", |
| 21 "window_manager_constants.mojom", |
| 22 "window_server_test.mojom", |
| 23 ] |
| 24 |
| 25 import_dirs = [ |
| 26 get_path_info("../../../..", "abspath"), |
| 27 "//mojo/services", |
| 28 ] |
| 29 |
| 30 public_deps = [ |
| 31 "//cc/ipc:interfaces", |
| 32 "//gpu/ipc/common:interfaces", |
| 33 "//services/ui/public/interfaces/display", |
| 34 "//ui/events/mojo:interfaces", |
| 35 "//ui/gfx/geometry/mojo", |
| 36 "//ui/gfx/mojo", |
| 37 "//ui/platform_window/mojo:interfaces", |
| 38 ] |
| 39 } |
| 40 |
| 41 # TODO(yzshen): merge this target into the one above. |
| 42 mojom("interfaces") { |
| 43 sources = [ |
| 44 "clipboard.mojom", |
| 22 "window_manager.mojom", | 45 "window_manager.mojom", |
| 23 "window_manager_constants.mojom", | |
| 24 "window_manager_window_tree_factory.mojom", | 46 "window_manager_window_tree_factory.mojom", |
| 25 "window_server_test.mojom", | |
| 26 "window_tree.mojom", | 47 "window_tree.mojom", |
| 27 "window_tree_constants.mojom", | 48 "window_tree_constants.mojom", |
| 28 "window_tree_host.mojom", | 49 "window_tree_host.mojom", |
| 29 ] | 50 ] |
| 30 | 51 |
| 31 import_dirs = [ | 52 import_dirs = [ |
| 32 get_path_info("../../../..", "abspath"), | 53 get_path_info("../../../..", "abspath"), |
| 33 "//mojo/services", | 54 "//mojo/services", |
| 34 ] | 55 ] |
| 35 | 56 |
| 36 public_deps = [ | 57 public_deps = [ |
| 37 ":constants", | 58 ":constants", |
| 59 ":interfaces_use_new_wrappers", |
| 38 "//cc/ipc:interfaces", | 60 "//cc/ipc:interfaces", |
| 39 "//gpu/ipc/common:interfaces", | 61 "//gpu/ipc/common:interfaces", |
| 40 "//services/ui/public/interfaces/display", | 62 "//services/ui/public/interfaces/display", |
| 41 "//ui/events/mojo:interfaces", | 63 "//ui/events/mojo:interfaces", |
| 42 "//ui/gfx/geometry/mojo", | 64 "//ui/gfx/geometry/mojo", |
| 43 "//ui/gfx/mojo", | 65 "//ui/gfx/mojo", |
| 44 "//ui/platform_window/mojo:interfaces", | 66 "//ui/platform_window/mojo:interfaces", |
| 45 ] | 67 ] |
| 46 | 68 |
| 47 use_new_wrapper_types = false | 69 use_new_wrapper_types = false |
| (...skipping 15 matching lines...) Expand all Loading... |
| 63 deps = [ | 85 deps = [ |
| 64 "//base", | 86 "//base", |
| 65 "//base/test:test_support", | 87 "//base/test:test_support", |
| 66 "//mojo/edk/test:run_all_unittests", | 88 "//mojo/edk/test:run_all_unittests", |
| 67 "//services/ui/public/interfaces/display:test_interfaces", | 89 "//services/ui/public/interfaces/display:test_interfaces", |
| 68 "//testing/gtest", | 90 "//testing/gtest", |
| 69 "//ui/display/types", | 91 "//ui/display/types", |
| 70 "//ui/gfx:test_support", | 92 "//ui/gfx:test_support", |
| 71 ] | 93 ] |
| 72 } | 94 } |
| OLD | NEW |