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

Unified Diff: chromecast/chromecast.gyp

Issue 1059073002: Loads CastEglPlatform implementation from shared library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add myself to OWNERS for cast ozone platform. Created 5 years, 8 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
« no previous file with comments | « build/common.gypi ('k') | chromecast/graphics/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/chromecast.gyp
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index b4ef6222233d4892d06cdc72949aaed975535162..3821a6dc9bb023aef478506ff01689dfd81e9813 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -10,6 +10,8 @@
'chromium_code': 1,
'chromecast_branding%': 'Chromium',
'disable_display%': 0,
+ 'enable_default_cast_graphics%': 1,
+ 'ozone_platform_cast%': 0,
'use_chromecast_webui%': 0,
},
'includes': [
@@ -31,6 +33,8 @@
'target_name': 'cast_public_api',
'type': '<(component)',
'sources': [
+ 'public/cast_egl_platform.h',
+ 'public/cast_egl_platform_shlib.h',
'public/chromecast_export.h',
],
},
@@ -90,22 +94,6 @@
],
},
{
- 'target_name': 'cast_ozone',
- 'type': '<(component)',
- 'sources': [
- 'ozone/gpu_platform_support_cast.cc',
- 'ozone/gpu_platform_support_cast.h',
- 'ozone/ozone_platform_cast.cc',
- 'ozone/ozone_platform_cast.h',
- 'ozone/platform_window_cast.cc',
- 'ozone/platform_window_cast.h',
- 'ozone/surface_factory_cast.cc',
- 'ozone/surface_factory_cast.h',
- 'ozone/surface_ozone_egl_cast.cc',
- 'ozone/surface_ozone_egl_cast.h',
- ],
- },
- {
'target_name': 'cast_shell_resources',
'type': 'none',
'variables': {
@@ -545,7 +533,6 @@
'target_name': 'cast_shell_core',
'type': '<(component)',
'dependencies': [
- 'cast_ozone',
'cast_shell_media',
'cast_shell_common',
'media/media.gyp:cast_media',
@@ -580,5 +567,19 @@
},
], # end of targets
}],
+ ['enable_default_cast_graphics==1', {
+ 'targets': [
+ {
+ 'target_name': 'libcast_graphics_1.0',
+ 'type': 'shared_library',
+ 'dependencies': [
+ 'cast_public_api'
+ ],
+ 'sources': [
+ 'graphics/cast_egl_platform_default.cc'
+ ],
+ }
+ ]
+ }],
], # end of conditions
}
« no previous file with comments | « build/common.gypi ('k') | chromecast/graphics/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698