| 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/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager | 7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager |
| 8 shared_library("view_manager") { | 8 shared_library("view_manager") { |
| 9 output_name = "mojo_view_manager" | 9 output_name = "mojo_view_manager" |
| 10 | 10 |
| 11 deps = [ | 11 deps = [ |
| 12 "//base", | 12 "//base", |
| 13 "//cc/surfaces", | 13 "//cc/surfaces", |
| 14 "//mojo/application", | 14 "//mojo/application", |
| 15 "//mojo/common", | 15 "//mojo/common", |
| 16 "//mojo/converters/geometry", | 16 "//mojo/converters/geometry", |
| 17 "//mojo/converters/input_events", | 17 "//mojo/converters/input_events", |
| 18 "//mojo/converters/surfaces", | 18 "//mojo/converters/surfaces", |
| 19 "//mojo/environment:chromium", | 19 "//mojo/environment:chromium", |
| 20 "//mojo/public/c/system:for_shared_library", | 20 "//mojo/public/c/system:for_shared_library", |
| 21 "//mojo/public/cpp/bindings", | 21 "//mojo/public/cpp/bindings", |
| 22 "//mojo/public/interfaces/application", | 22 "//mojo/public/interfaces/application", |
| 23 "//mojo/services/public/interfaces/geometry", | 23 "//mojo/services/public/interfaces/geometry", |
| 24 "//mojo/services/public/interfaces/input_events", | 24 "//mojo/services/public/interfaces/input_events", |
| 25 "//mojo/services/public/interfaces/native_viewport", | 25 "//mojo/services/public/interfaces/native_viewport", |
| 26 "//mojo/services/public/interfaces/surfaces", | 26 "//mojo/services/public/interfaces/surfaces", |
| 27 "//mojo/services/public/interfaces/view_manager", | 27 "//mojo/services/public/interfaces/view_manager", |
| 28 "//mojo/services/public/interfaces/window_manager", |
| 28 "//ui/base", | 29 "//ui/base", |
| 29 "//ui/events", | 30 "//ui/events", |
| 30 "//ui/events:events_base", | 31 "//ui/events:events_base", |
| 31 "//ui/gfx", | 32 "//ui/gfx", |
| 32 "//ui/gfx/geometry", | 33 "//ui/gfx/geometry", |
| 33 ] | 34 ] |
| 34 | 35 |
| 35 defines = [ | 36 defines = [ |
| 36 "MOJO_VIEW_MANAGER_IMPLEMENTATION", | 37 "MOJO_VIEW_MANAGER_IMPLEMENTATION", |
| 37 ] | 38 ] |
| (...skipping 13 matching lines...) Expand all Loading... |
| 51 "server_view_delegate.h", | 52 "server_view_delegate.h", |
| 52 "view_manager_export.h", | 53 "view_manager_export.h", |
| 53 "view_manager_init_service_context.cc", | 54 "view_manager_init_service_context.cc", |
| 54 "view_manager_init_service_context.h", | 55 "view_manager_init_service_context.h", |
| 55 "view_manager_init_service_impl.cc", | 56 "view_manager_init_service_impl.cc", |
| 56 "view_manager_init_service_impl.h", | 57 "view_manager_init_service_impl.h", |
| 57 "view_manager_service_impl.cc", | 58 "view_manager_service_impl.cc", |
| 58 "view_manager_service_impl.h", | 59 "view_manager_service_impl.h", |
| 59 "window_manager_access_policy.cc", | 60 "window_manager_access_policy.cc", |
| 60 "window_manager_access_policy.h", | 61 "window_manager_access_policy.h", |
| 62 "window_manager_client_impl.cc", |
| 63 "window_manager_client_impl.h", |
| 61 ] | 64 ] |
| 62 } | 65 } |
| 63 | 66 |
| 64 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests | 67 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests |
| 65 test("mojo_view_manager_unittests") { | 68 test("mojo_view_manager_unittests") { |
| 66 deps = [ | 69 deps = [ |
| 67 "//base", | 70 "//base", |
| 68 "//base/test:test_support", | 71 "//base/test:test_support", |
| 69 "//mojo/application", | 72 "//mojo/application", |
| 70 "//mojo/application_manager", | 73 "//mojo/application_manager", |
| 71 "//mojo/converters/geometry", | 74 "//mojo/converters/geometry", |
| 72 "//mojo/converters/input_events", | 75 "//mojo/converters/input_events", |
| 73 "//mojo/edk/system", | 76 "//mojo/edk/system", |
| 74 "//mojo/environment:chromium", | 77 "//mojo/environment:chromium", |
| 75 "//mojo/public/cpp/bindings", | 78 "//mojo/public/cpp/bindings", |
| 76 "//mojo/services/public/cpp/view_manager", | 79 "//mojo/services/public/cpp/view_manager", |
| 77 "//mojo/services/public/cpp/view_manager/lib:run_unittests", | 80 "//mojo/services/public/cpp/view_manager/lib:run_unittests", |
| 81 "//mojo/services/public/interfaces/view_manager", |
| 82 "//mojo/services/public/interfaces/window_manager", |
| 78 "//mojo/shell:test_support", | 83 "//mojo/shell:test_support", |
| 79 "//testing/gtest", | 84 "//testing/gtest", |
| 80 "//ui/gfx/geometry", | 85 "//ui/gfx/geometry", |
| 81 ] | 86 ] |
| 82 | 87 |
| 83 if (use_x11) { | 88 if (use_x11) { |
| 84 deps += ["//ui/gfx/x"] | 89 deps += ["//ui/gfx/x"] |
| 85 } | 90 } |
| 86 | 91 |
| 87 if (is_component_build) { | 92 if (is_component_build) { |
| 88 deps += ["//ui/gl"] | 93 deps += ["//ui/gl"] |
| 89 } | 94 } |
| 90 | 95 |
| 91 sources = [ | 96 sources = [ |
| 92 "test_change_tracker.cc", | 97 "test_change_tracker.cc", |
| 93 "test_change_tracker.h", | 98 "test_change_tracker.h", |
| 94 "view_manager_unittest.cc", | 99 "view_manager_unittest.cc", |
| 95 ] | 100 ] |
| 96 } | 101 } |
| OLD | NEW |