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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
6 import("//mojo/system.gni")
8 static_library("native_viewport") {
9 output_name = "mojo_native_viewport"
14 "//ui/events/platform",
17 "//mojo/public/cpp/application:chromium",
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",
30 "native_viewport_impl.cc",
31 "native_viewport_impl.h",
32 "platform_viewport.h",
33 "platform_viewport_android.cc",
34 "platform_viewport_android.h",
35 "platform_viewport_mac.mm",
36 "platform_viewport_win.cc",
40 sources += [ "platform_viewport_stub.cc" ]
44 deps += [ "//mojo:jni_headers" ]
50 # '../ui/platform_window/win/win_window.gyp:win_window',
55 sources += [ "platform_viewport_x11.cc" ]
57 "//ui/events/platform/x11",
58 "//ui/platform_window/x11",
63 sources += [ "platform_viewport_ozone.cc" ]