| 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 import("//mojo/public/mojo_application.gni") |
| 6 | 7 |
| 7 shared_library("view_manager") { | 8 mojo_native_application("view_manager") { |
| 8 sources = [ | 9 sources = [ |
| 9 "main.cc", | 10 "main.cc", |
| 10 ] | 11 ] |
| 11 | 12 |
| 12 deps = [ | 13 deps = [ |
| 13 ":view_manager_lib", | 14 ":view_manager_lib", |
| 14 "//mojo/application", | 15 "//mojo/application", |
| 15 "//mojo/environment:chromium", | 16 "//mojo/environment:chromium", |
| 16 "//mojo/public/c/system:for_shared_library", | 17 "//mojo/public/c/system:for_shared_library", |
| 17 ] | 18 ] |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 "//mojo/shell:test_support", | 87 "//mojo/shell:test_support", |
| 87 "//testing/gtest", | 88 "//testing/gtest", |
| 88 "//ui/gfx/geometry", | 89 "//ui/gfx/geometry", |
| 89 ] | 90 ] |
| 90 | 91 |
| 91 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 92 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
| 92 deps += [ "//third_party/mesa:osmesa" ] | 93 deps += [ "//third_party/mesa:osmesa" ] |
| 93 } | 94 } |
| 94 } | 95 } |
| 95 | 96 |
| 96 shared_library("view_manager_server_apptests") { | 97 mojo_native_application("view_manager_server_apptests") { |
| 97 testonly = true | 98 testonly = true |
| 98 | 99 |
| 99 sources = [ | 100 sources = [ |
| 100 "test_change_tracker.cc", | 101 "test_change_tracker.cc", |
| 101 "test_change_tracker.h", | 102 "test_change_tracker.h", |
| 102 "view_manager_server_apptest.cc", | 103 "view_manager_server_apptest.cc", |
| 103 ] | 104 ] |
| 104 | 105 |
| 105 deps = [ | 106 deps = [ |
| 106 "//base", | 107 "//base", |
| 107 "//mojo/application", | 108 "//mojo/application", |
| 108 "//mojo/application:test_support", | 109 "//mojo/application:test_support", |
| 109 "//mojo/common", | 110 "//mojo/common", |
| 110 "//mojo/public/c/system:for_shared_library", | 111 "//mojo/public/c/system:for_shared_library", |
| 111 "//mojo/public/cpp/bindings", | 112 "//mojo/public/cpp/bindings", |
| 112 "//mojo/services/public/interfaces/geometry", | 113 "//mojo/services/public/interfaces/geometry", |
| 113 "//mojo/services/public/interfaces/view_manager", | 114 "//mojo/services/public/interfaces/view_manager", |
| 114 "//mojo/services/public/interfaces/window_manager", | 115 "//mojo/services/public/interfaces/window_manager", |
| 115 ] | 116 ] |
| 116 } | 117 } |
| OLD | NEW |