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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [
7 'media_router.gypi',
8 ],
9 'targets': [ 6 'targets': [
10 { 7 {
11 # GN version: //chrome/browser/media/router:router
12 'target_name': 'media_router', 8 'target_name': 'media_router',
13 'type': 'static_library', 9 'type': 'static_library',
14 'include_dirs': [ 10 'include_dirs': [
15 '<(DEPTH)', 11 '<(DEPTH)',
16 '<(DEPTH)/third_party/mojo/src', 12 '<(DEPTH)/third_party/mojo/src',
17 ], 13 ],
18 'dependencies': [ 14 'dependencies': [
19 # media_router_type_converters.h needs the generated file. 15 # media_router_type_converters.h needs the generated file.
20 ':media_router_mojo_gen', 16 ':media_router_mojo_gen',
21 ':media_router_mojo', 17 ':media_router_mojo',
22 '<(DEPTH)/base/base.gyp:base', 18 '<(DEPTH)/base/base.gyp:base',
23 '<(DEPTH)/components/components.gyp:keyed_service_core',
24 '<(DEPTH)/extensions/extensions.gyp:extensions_browser',
25 '<(DEPTH)/skia/skia.gyp:skia',
26 '<(DEPTH)/url/url.gyp:url_lib', 19 '<(DEPTH)/url/url.gyp:url_lib',
27 ], 20 ],
28 'sources': [ 21 'sources': [
29 '<@(media_router_sources)', 22 'create_session_request.cc',
23 'create_session_request.h',
24 'issue.cc',
25 'issue.h',
26 'issue_manager.cc',
27 'issue_manager.h',
28 'issue_observer.h',
29 'media_route.cc',
30 'media_route.h',
31 'media_route_id.h',
32 'media_router.h',
33 'media_router_type_converters.cc',
34 'media_router_type_converters.h',
35 'media_routes_observer.cc',
36 'media_routes_observer.h',
37 'media_sink.cc',
38 'media_sink.h',
39 'media_sinks_observer.cc',
40 'media_sinks_observer.h',
41 'media_source.cc',
42 'media_source.h',
43 'media_source_helper.cc',
44 'media_source_helper.h',
45 'presentation_media_sinks_observer.cc',
46 'presentation_media_sinks_observer.h',
47 'route_id_manager.cc',
48 'route_id_manager.h',
30 ], 49 ],
31 }, 50 },
32 { 51 {
33 # Mojo compiler for the Media Router internal API. 52 # Mojo bindings for the Media Router internal API.
34 'target_name': 'media_router_mojo_gen', 53 'target_name': 'media_router_mojo_gen',
35 'type': 'none', 54 'type': 'none',
36 'sources': [ 55 'sources': [
37 'media_router.mojom', 56 'media_router.mojom',
38 ], 57 ],
39 'includes': [ 58 'includes': [
40 '../../../../third_party/mojo/mojom_bindings_generator.gypi', 59 '../../../../third_party/mojo/mojom_bindings_generator.gypi',
41 ], 60 ],
42 }, 61 },
43 { 62 {
44 'target_name': 'media_router_mojo', 63 'target_name': 'media_router_mojo',
45 'type': 'static_library', 64 'type': 'static_library',
46 'include_dirs': [ 65 'include_dirs': [
47 '<(DEPTH)/third_party/mojo/src', 66 '<(DEPTH)/third_party/mojo/src',
48 ], 67 ],
49 'dependencies': [ 68 'dependencies': [
50 'media_router_mojo_gen', 69 'media_router_mojo_gen',
70 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
71 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
72 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
51 ], 73 ],
52 'sources': [ 74 'sources': [
53 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.moj om.cc', 75 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.moj om.cc',
54 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.moj om.h', 76 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/media/router/media_router.moj om.h',
55 ], 77 ],
56 }, 78 },
57 { 79 {
58 # GN version: //chrome/browser/media/router:test_support
59 'target_name': 'media_router_test_support', 80 'target_name': 'media_router_test_support',
60 'type': 'static_library', 81 'type': 'static_library',
61 'include_dirs': [ 82 'include_dirs': [
62 '<(DEPTH)', 83 '<(DEPTH)',
63 ], 84 ],
64 'dependencies': [ 85 'dependencies': [
65 ':media_router', 86 ':media_router',
66 '<(DEPTH)/third_party/mojo/src',
67 ],
68 'dependencies': [
69 ':media_router',
70 ':media_router_mojo',
71 '<(DEPTH)/base/base.gyp:base', 87 '<(DEPTH)/base/base.gyp:base',
72 '<(DEPTH)/testing/gmock.gyp:gmock', 88 '<(DEPTH)/testing/gmock.gyp:gmock',
73 ], 89 ],
74 'sources': [ 90 'sources': [
75 '<@(media_router_test_support_sources)', 91 'mock_media_router.cc',
92 'mock_media_router.h',
93 'mock_screen_availability_listener.cc',
94 'mock_screen_availability_listener.h',
76 ], 95 ],
77 }, 96 },
97
78 ], 98 ],
79 } 99 }
OLDNEW
« 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