| 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 if (use_aura) { | 7 if (use_aura) { |
| 8 | 8 |
| 9 import("//mojo/system.gni") | |
| 10 | |
| 11 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager | 9 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager |
| 12 shared_library("window_manager") { | 10 shared_library("window_manager") { |
| 13 output_name = "mojo_core_window_manager" | 11 output_name = "mojo_core_window_manager" |
| 14 | 12 |
| 15 sources = [ "main.cc" ] | 13 sources = [ "main.cc" ] |
| 16 | 14 |
| 17 deps = [ | 15 deps = [ |
| 18 ":lib", | 16 ":lib", |
| 19 "//mojo/application", | 17 "//mojo/application", |
| 20 ] + mojo_system_for_shared_library | 18 "//mojo/public/c/system:for_shared_library", |
| 19 ] |
| 21 } | 20 } |
| 22 | 21 |
| 23 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_lib | 22 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_lib |
| 24 source_set("lib") { | 23 source_set("lib") { |
| 25 sources = [ | 24 sources = [ |
| 26 "window_manager_app.cc", | 25 "window_manager_app.cc", |
| 27 "window_manager_app.h", | 26 "window_manager_app.h", |
| 28 "window_manager_service_impl.cc", | 27 "window_manager_service_impl.cc", |
| 29 "window_manager_service_impl.h", | 28 "window_manager_service_impl.h", |
| 30 ] | 29 ] |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 "//third_party/mesa:osmesa", | 70 "//third_party/mesa:osmesa", |
| 72 "//mojo/services/native_viewport", | 71 "//mojo/services/native_viewport", |
| 73 ] | 72 ] |
| 74 } | 73 } |
| 75 if (use_x11) { | 74 if (use_x11) { |
| 76 deps += [ "//ui/gfx/x" ] | 75 deps += [ "//ui/gfx/x" ] |
| 77 } | 76 } |
| 78 } | 77 } |
| 79 | 78 |
| 80 } # use_aura | 79 } # use_aura |
| OLD | NEW |