blob: 435b1a02910fb5a369cbba5e7e7b9a42441cfa90 [file] [log] [blame]
# Copyright 2015 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("//chromecast/chromecast.gni")
import("//build/config/ui.gni")
source_set("graphics") {
sources = [
"cast_vsync_settings.cc",
"cast_vsync_settings.h",
]
deps = [
"//base",
]
if (use_aura) {
sources += [
"cast_screen.cc",
"cast_screen.h",
]
deps += [
":libcast_graphics_1.0",
"//chromecast/public",
"//ui/aura",
"//ui/display",
"//ui/gfx",
"//ui/gfx/geometry",
]
}
}
shared_library("libcast_graphics_1.0") {
sources = [
"cast_egl_platform_default.cc",
"graphics_properties_default.cc",
"osd_plane_default.cc",
]
public_deps = [
"//chromecast/public",
]
deps = [
"//base",
"//chromecast/base:chromecast_switches",
"//chromecast/base:init_shlib",
]
}