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

Unified Diff: chrome/browser/media/router/media_router.gyp

Issue 1140183002: Revert of Media Router GYP/GN cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « chrome/browser/media/router/BUILD.gn ('k') | chrome/browser/media/router/media_router.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_router.gyp
diff --git a/chrome/browser/media/router/media_router.gyp b/chrome/browser/media/router/media_router.gyp
index bd91c81e15ce7999d272a3575c1ef59612ddf08c..33e8bc859848d384a587c898fa8832ed10b9bb97 100644
--- a/chrome/browser/media/router/media_router.gyp
+++ b/chrome/browser/media/router/media_router.gyp
@@ -3,12 +3,8 @@
# found in the LICENSE file.
{
- 'includes': [
- 'media_router.gypi',
- ],
'targets': [
{
- # GN version: //chrome/browser/media/router:router
'target_name': 'media_router',
'type': 'static_library',
'include_dirs': [
@@ -20,17 +16,40 @@
':media_router_mojo_gen',
':media_router_mojo',
'<(DEPTH)/base/base.gyp:base',
- '<(DEPTH)/components/components.gyp:keyed_service_core',
- '<(DEPTH)/extensions/extensions.gyp:extensions_browser',
- '<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/url/url.gyp:url_lib',
],
'sources': [
- '<@(media_router_sources)',
+ 'create_session_request.cc',
+ 'create_session_request.h',
+ 'issue.cc',
+ 'issue.h',
+ 'issue_manager.cc',
+ 'issue_manager.h',
+ 'issue_observer.h',
+ 'media_route.cc',
+ 'media_route.h',
+ 'media_route_id.h',
+ 'media_router.h',
+ 'media_router_type_converters.cc',
+ 'media_router_type_converters.h',
+ 'media_routes_observer.cc',
+ 'media_routes_observer.h',
+ 'media_sink.cc',
+ 'media_sink.h',
+ 'media_sinks_observer.cc',
+ 'media_sinks_observer.h',
+ 'media_source.cc',
+ 'media_source.h',
+ 'media_source_helper.cc',
+ 'media_source_helper.h',
+ 'presentation_media_sinks_observer.cc',
+ 'presentation_media_sinks_observer.h',
+ 'route_id_manager.cc',
+ 'route_id_manager.h',
],
},
{
- # Mojo compiler for the Media Router internal API.
+ # Mojo bindings for the Media Router internal API.
'target_name': 'media_router_mojo_gen',
'type': 'none',
'sources': [
@@ -48,6 +67,9 @@
],
'dependencies': [
'media_router_mojo_gen',
+ '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
+ '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
+ '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'sources': [
'<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.mojom.cc',
@@ -55,7 +77,6 @@
],
},
{
- # GN version: //chrome/browser/media/router:test_support
'target_name': 'media_router_test_support',
'type': 'static_library',
'include_dirs': [
@@ -63,17 +84,16 @@
],
'dependencies': [
':media_router',
- '<(DEPTH)/third_party/mojo/src',
- ],
- 'dependencies': [
- ':media_router',
- ':media_router_mojo',
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/testing/gmock.gyp:gmock',
],
'sources': [
- '<@(media_router_test_support_sources)',
+ 'mock_media_router.cc',
+ 'mock_media_router.h',
+ 'mock_screen_availability_listener.cc',
+ 'mock_screen_availability_listener.h',
],
},
+
],
}
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | chrome/browser/media/router/media_router.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698