| Index: chromecast/graphics/BUILD.gn
|
| diff --git a/chromecast/graphics/BUILD.gn b/chromecast/graphics/BUILD.gn
|
| index f07a87154354163b625be19de5dff4c5ca38b7c9..7ba48c8dab8c1a56696a7aa5327ce36b01e67815 100644
|
| --- a/chromecast/graphics/BUILD.gn
|
| +++ b/chromecast/graphics/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//chromecast/chromecast.gni")
|
| +
|
| source_set("graphics") {
|
| sources = [
|
| "cast_screen.cc",
|
| @@ -14,3 +16,35 @@ source_set("graphics") {
|
| "//ui/gfx/geometry",
|
| ]
|
| }
|
| +
|
| +group("libcast_graphics") {
|
| + if (use_default_cast_graphics) {
|
| + public_deps = [
|
| + ":libcast_graphics_default",
|
| + ]
|
| + } else {
|
| + public_deps = [
|
| + "$libcast_graphics_path:libcast_graphics_1.0",
|
| + ]
|
| + }
|
| +}
|
| +
|
| +if (use_default_cast_graphics) {
|
| + shared_library("libcast_graphics_default") {
|
| + output_name = "libcast_graphics_1.0"
|
| +
|
| + sources = [
|
| + "cast_egl_platform_default.cc",
|
| + "graphics_properties_default.cc",
|
| + "osd_plane_default.cc",
|
| + ]
|
| +
|
| + public_deps = [
|
| + "//chromecast/public",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + ]
|
| + }
|
| +}
|
|
|