blob: 59c8b17465d539fc32697b5325b00ecf339874a6 [file] [log] [blame]
# 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("//build/config/ozone.gni")
import("//build/config/ui.gni")
assert(use_ozone)
source_set("common") {
sources = [
"egl_util.cc",
"egl_util.h",
"features.cc",
"features.h",
"gl_ozone_egl.cc",
"gl_ozone_egl.h",
"gl_surface_egl_readback.cc",
"gl_surface_egl_readback.h",
"stub_overlay_manager.cc",
"stub_overlay_manager.h",
]
public_deps = [
"//build:chromeos_buildflags",
"//ui/ozone:ozone_base",
]
deps = [
"//ui/gfx/ipc/color",
"//ui/gl",
"//ui/gl:buildflags",
]
data_deps = [ "//third_party/mesa_headers" ]
visibility = [ "//ui/ozone/platform/*" ]
# Out of tree platforms can depend on this.
visibility += ozone_external_platform_visibility
}