| 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 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 ] | 61 ] |
| 62 } | 62 } |
| 63 | 63 |
| 64 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests | 64 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests |
| 65 test("mojo_view_manager_unittests") { | 65 test("mojo_view_manager_unittests") { |
| 66 deps = [ | 66 deps = [ |
| 67 "//base", | 67 "//base", |
| 68 "//base/test:test_support", | 68 "//base/test:test_support", |
| 69 "//mojo/application", | 69 "//mojo/application", |
| 70 "//mojo/application_manager", | 70 "//mojo/application_manager", |
| 71 "//mojo/edk/system", | |
| 72 "//mojo/environment:chromium", | 71 "//mojo/environment:chromium", |
| 73 "//mojo/public/cpp/bindings", | 72 "//mojo/public/cpp/bindings", |
| 73 "//mojo/services/public/cpp/input_events", |
| 74 "//mojo/services/public/cpp/geometry", | 74 "//mojo/services/public/cpp/geometry", |
| 75 "//mojo/services/public/cpp/input_events", | |
| 76 "//mojo/services/public/cpp/view_manager", | 75 "//mojo/services/public/cpp/view_manager", |
| 77 "//mojo/services/public/cpp/view_manager/lib:run_unittests", | 76 "//mojo/services/public/cpp/view_manager/lib:run_unittests", |
| 78 "//mojo/shell:test_support", | 77 "//mojo/shell:test_support", |
| 78 "//mojo/system", |
| 79 "//testing/gtest", | 79 "//testing/gtest", |
| 80 "//ui/gfx/geometry", | 80 "//ui/gfx/geometry", |
| 81 ] | 81 ] |
| 82 | 82 |
| 83 if (use_x11) { | 83 if (use_x11) { |
| 84 deps += ["//ui/gfx/x"] | 84 deps += ["//ui/gfx/x"] |
| 85 } | 85 } |
| 86 | 86 |
| 87 if (is_component_build) { | 87 if (is_component_build) { |
| 88 deps += ["//ui/gl"] | 88 deps += ["//ui/gl"] |
| 89 } | 89 } |
| 90 | 90 |
| 91 sources = [ | 91 sources = [ |
| 92 "test_change_tracker.cc", | 92 "test_change_tracker.cc", |
| 93 "test_change_tracker.h", | 93 "test_change_tracker.h", |
| 94 "view_manager_unittest.cc", | 94 "view_manager_unittest.cc", |
| 95 ] | 95 ] |
| 96 } | 96 } |
| OLD | NEW |