mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
87 lines
2.0 KiB
Plaintext
87 lines
2.0 KiB
Plaintext
# Copyright 2016 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//gpu/vulkan/features.gni")
|
|
|
|
visibility = [ "//ui/ozone/*" ]
|
|
|
|
source_set("x11") {
|
|
sources = [
|
|
"client_native_pixmap_factory_x11.cc",
|
|
"client_native_pixmap_factory_x11.h",
|
|
"gl_ozone_glx.cc",
|
|
"gl_ozone_glx.h",
|
|
"gl_surface_egl_ozone_x11.cc",
|
|
"gl_surface_egl_ozone_x11.h",
|
|
"gl_surface_egl_readback_x11.cc",
|
|
"gl_surface_egl_readback_x11.h",
|
|
"gl_surface_glx_ozone.cc",
|
|
"gl_surface_glx_ozone.h",
|
|
"ozone_platform_x11.cc",
|
|
"ozone_platform_x11.h",
|
|
"x11_cursor_factory_ozone.cc",
|
|
"x11_cursor_factory_ozone.h",
|
|
"x11_cursor_ozone.cc",
|
|
"x11_cursor_ozone.h",
|
|
"x11_surface_factory.cc",
|
|
"x11_surface_factory.h",
|
|
"x11_window_manager_ozone.cc",
|
|
"x11_window_manager_ozone.h",
|
|
"x11_window_ozone.cc",
|
|
"x11_window_ozone.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//gpu/vulkan:buildflags",
|
|
"//skia",
|
|
"//ui/base",
|
|
"//ui/base/x",
|
|
"//ui/display/manager",
|
|
"//ui/events",
|
|
"//ui/events/devices",
|
|
"//ui/events/ozone:events_ozone",
|
|
"//ui/events/platform",
|
|
"//ui/events/platform/x11",
|
|
"//ui/events/x",
|
|
"//ui/gfx",
|
|
"//ui/gfx/geometry",
|
|
"//ui/gfx/x",
|
|
"//ui/gl",
|
|
"//ui/ozone:ozone_base",
|
|
"//ui/ozone/common",
|
|
"//ui/platform_window",
|
|
"//ui/platform_window/x11",
|
|
]
|
|
|
|
if (enable_vulkan) {
|
|
deps += [ "//gpu/vulkan/x" ]
|
|
}
|
|
|
|
configs += [ "//build/config/linux:x11" ]
|
|
|
|
public_configs = [ "//third_party/khronos:khronos_headers" ]
|
|
}
|
|
|
|
source_set("x11_unittests") {
|
|
testonly = true
|
|
sources = [
|
|
"x11_cursor_factory_ozone_unittest.cc",
|
|
"x11_window_ozone_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":x11",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
"//ui/events:test_support",
|
|
"//ui/events/devices/x11",
|
|
"//ui/events/platform/x11",
|
|
"//ui/ozone:platform",
|
|
"//ui/ozone:test_support",
|
|
"//ui/ozone/common",
|
|
"//ui/platform_window/x11:x11",
|
|
]
|
|
}
|