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

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

Issue 1213333003: Build public cast_shell on x86 with GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Modifies gn args to make cast_shell run! Created 5 years, 5 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
« content/renderer/render_frame_impl.cc ('K') | « ui/ozone/ozone.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/egltest/BUILD.gn
diff --git a/ui/ozone/platform/egltest/BUILD.gn b/ui/ozone/platform/egltest/BUILD.gn
index 8acf85b31ef7107051af80657615a66288bcff93..7a536754240699c90f4a42638b280a1a46e60ab1 100644
--- a/ui/ozone/platform/egltest/BUILD.gn
+++ b/ui/ozone/platform/egltest/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//tools/generate_library_loader/generate_library_loader.gni")
+import("//ui/ozone/ozone.gni")
source_set("egltest") {
sources = [
@@ -39,4 +40,21 @@ generate_library_loader("eglplatform_shim") {
"ShimReleaseNativeWindow",
]
}
-# TODO(spang): eglplatform_shim_x11 once support lands: http://crbug.com/380327
+
+# TODO(spang): eglplatform_shim_x11 should become a loadable_module once
+# support lands: http://crbug.com/380327. Until then, it is not valid on
+# platforms other than Linux.
+if (is_linux && ozone_platform_ozonex) {
+ shared_library("eglplatform_shim_x11") {
+ output_name = "libeglplatform_shim"
+
+ output_extension = "so.1"
+
+ sources = [
+ "eglplatform_shim.h",
+ "eglplatform_shim_xeleven.cc",
+ ]
+
+ configs += [ "//build/config/linux:x11" ]
+ }
+}
« content/renderer/render_frame_impl.cc ('K') | « ui/ozone/ozone.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698