| 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/system.gni") | 6 import("//mojo/system.gni") |
| 7 | 7 |
| 8 static_library("native_viewport") { | 8 static_library("native_viewport") { |
| 9 output_name = "mojo_native_viewport" | 9 output_name = "mojo_native_viewport" |
| 10 | 10 |
| 11 deps = [ | 11 deps = [ |
| 12 "//base", | 12 "//base", |
| 13 "//cc/surfaces", |
| 14 "//mojo/common", |
| 15 "//mojo/environment:chromium", |
| 16 "//mojo/public/cpp/application:chromium", |
| 17 "//mojo/services/gles2", |
| 18 "//mojo/services/public/cpp/geometry", |
| 19 "//mojo/services/public/cpp/input_events", |
| 20 "//mojo/services/public/cpp/surfaces", |
| 21 "//mojo/services/public/interfaces/geometry", |
| 22 "//mojo/services/public/interfaces/native_viewport", |
| 23 "//mojo/services/public/interfaces/surfaces", |
| 13 "//ui/events", | 24 "//ui/events", |
| 14 "//ui/events/platform", | 25 "//ui/events/platform", |
| 15 "//ui/gfx", | 26 "//ui/gfx", |
| 16 "//ui/gfx/geometry", | 27 "//ui/gfx/geometry", |
| 17 "//mojo/public/cpp/application:chromium", | |
| 18 "//mojo/common", | |
| 19 "//mojo/environment:chromium", | |
| 20 "//mojo/services/public/cpp/geometry", | |
| 21 "//mojo/services/public/interfaces/geometry", | |
| 22 "//mojo/services/gles2", | |
| 23 "//mojo/services/public/cpp/input_events", | |
| 24 "//mojo/services/public/interfaces/native_viewport", | |
| 25 ] | 28 ] |
| 26 | 29 |
| 27 sources = [ | 30 sources = [ |
| 28 "gpu_impl.cc", | 31 "gpu_impl.cc", |
| 29 "gpu_impl.h", | 32 "gpu_impl.h", |
| 30 "native_viewport_impl.cc", | 33 "native_viewport_impl.cc", |
| 31 "native_viewport_impl.h", | 34 "native_viewport_impl.h", |
| 32 "platform_viewport.h", | 35 "platform_viewport.h", |
| 33 "platform_viewport_android.cc", | 36 "platform_viewport_android.cc", |
| 34 "platform_viewport_android.h", | 37 "platform_viewport_android.h", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 56 deps += [ | 59 deps += [ |
| 57 "//ui/events/platform/x11", | 60 "//ui/events/platform/x11", |
| 58 "//ui/platform_window/x11", | 61 "//ui/platform_window/x11", |
| 59 ] | 62 ] |
| 60 } | 63 } |
| 61 | 64 |
| 62 if (use_ozone) { | 65 if (use_ozone) { |
| 63 sources += [ "platform_viewport_ozone.cc" ] | 66 sources += [ "platform_viewport_ozone.cc" ] |
| 64 } | 67 } |
| 65 } | 68 } |
| OLD | NEW |