Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: ui/ozone/platform/cast/BUILD.gn

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove uneeded arg Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/cast/BUILD.gn
diff --git a/ui/ozone/platform/cast/BUILD.gn b/ui/ozone/platform/cast/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a666e08288d6d825dabd9c4ca19a8a6085104c09
--- /dev/null
+++ b/ui/ozone/platform/cast/BUILD.gn
@@ -0,0 +1,39 @@
+# 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("//build/config/chromecast_build.gni")
+import("//ui/ozone/ozone.gni")
+
+# GYP version: cast.gypi:ozone_platform_cast
+# TODO(slan): gn check needs deps on ozone and media to pass. Correct this.
+source_set("cast") {
+ sources = [
+ "client_native_pixmap_factory_cast.cc",
+ "client_native_pixmap_factory_cast.h",
+ "gpu_platform_support_cast.cc",
+ "gpu_platform_support_cast.h",
+ "overlay_manager_cast.cc",
+ "overlay_manager_cast.h",
+ "ozone_platform_cast.cc",
+ "ozone_platform_cast.h",
+ "platform_window_cast.cc",
+ "platform_window_cast.h",
+ "surface_factory_cast.cc",
+ "surface_factory_cast.h",
+ "surface_ozone_egl_cast.cc",
+ "surface_ozone_egl_cast.h",
+ ]
+
+ defines = [ "OZONE_IMPLEMENTATION" ]
brettw 2015/09/17 22:52:14 Remove this. This is not a component and will actu
slan 2015/09/18 02:31:26 Done.
+
+ deps = [
+ "//base",
+ "//chromecast/graphics:libcast_graphics",
+ "//chromecast/media:libcast_media",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/ozone:ozone_base",
+ "//ui/platform_window",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698