Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 import("//extensions/features/features.gni") | |
| 6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 7 | 8 |
| 8 static_library("router") { | 9 static_library("router") { |
| 9 deps = [ | 10 deps = [ |
| 10 "//base", | 11 "//base", |
| 11 "//chrome/common:constants", | 12 "//chrome/common:constants", |
| 12 "//components/keyed_service/content", | 13 "//components/keyed_service/content", |
| 13 "//components/keyed_service/core", | 14 "//components/keyed_service/core", |
| 14 "//content/public/browser", | 15 "//content/public/browser", |
| 15 "//content/public/common", | 16 "//content/public/common", |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 59 "receiver_presentation_service_delegate_impl.cc", | 60 "receiver_presentation_service_delegate_impl.cc", |
| 60 "receiver_presentation_service_delegate_impl.h", | 61 "receiver_presentation_service_delegate_impl.h", |
| 61 "render_frame_host_id.h", | 62 "render_frame_host_id.h", |
| 62 "route_message_observer.cc", | 63 "route_message_observer.cc", |
| 63 "route_message_observer.h", | 64 "route_message_observer.h", |
| 64 ] | 65 ] |
| 65 | 66 |
| 66 if (!is_android) { | 67 if (!is_android) { |
| 67 deps += [ | 68 deps += [ |
| 68 "discovery", | 69 "discovery", |
| 69 "//extensions/browser", | 70 "//extensions/browser", |
|
michaelpg
2017/05/23 16:54:40
What about this? (!enable_extensions should not ap
hugoh_UTC2
2017/05/24 13:58:06
True. In PS3 I moved the check for enable_extensio
| |
| 70 "//mojo/public/cpp/bindings", | 71 "//mojo/public/cpp/bindings", |
| 71 ] | 72 ] |
| 72 sources += [ | 73 sources += [ |
| 73 # TODO(crbug.com/646627): Move media_router_ui_service* to | 74 # TODO(crbug.com/646627): Move media_router_ui_service* to |
| 74 # chrome/browser/ui/. | 75 # chrome/browser/ui/. |
| 75 "media_router_ui_service.cc", | 76 "media_router_ui_service.cc", |
| 76 "media_router_ui_service.h", | 77 "media_router_ui_service.h", |
| 77 "media_router_ui_service_factory.cc", | 78 "media_router_ui_service_factory.cc", |
| 78 "media_router_ui_service_factory.h", | 79 "media_router_ui_service_factory.h", |
| 79 "mojo/media_route_provider_util_win.cc", | 80 "mojo/media_route_provider_util_win.cc", |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 99 "mock_screen_availability_listener.cc", | 100 "mock_screen_availability_listener.cc", |
| 100 "mock_screen_availability_listener.h", | 101 "mock_screen_availability_listener.h", |
| 101 "test_helper.cc", | 102 "test_helper.cc", |
| 102 "test_helper.h", | 103 "test_helper.h", |
| 103 ] | 104 ] |
| 104 | 105 |
| 105 if (!is_android) { | 106 if (!is_android) { |
| 106 deps += [ | 107 deps += [ |
| 107 "//chrome/common/media_router/mojo:media_router", | 108 "//chrome/common/media_router/mojo:media_router", |
| 108 "//chrome/common/media_router/mojo:media_router_test_interfaces", | 109 "//chrome/common/media_router/mojo:media_router_test_interfaces", |
| 109 "//extensions/common", | |
| 110 ] | 110 ] |
| 111 if (enable_extensions) { | |
| 112 deps += [ "//extensions/common" ] | |
|
michaelpg
2017/05/23 16:54:40
media-router sources unconditionally include files
hugoh_UTC2
2017/05/24 13:58:06
When !is_android, static_library("test_support") s
| |
| 113 } | |
| 111 sources += [ | 114 sources += [ |
| 112 "discovery/mdns/mock_dns_sd_registry.cc", | 115 "discovery/mdns/mock_dns_sd_registry.cc", |
| 113 "discovery/mdns/mock_dns_sd_registry.h", | 116 "discovery/mdns/mock_dns_sd_registry.h", |
| 114 "mojo/media_router_mojo_test.cc", | 117 "mojo/media_router_mojo_test.cc", |
| 115 "mojo/media_router_mojo_test.h", | 118 "mojo/media_router_mojo_test.h", |
| 116 ] | 119 ] |
| 117 } | 120 } |
| 118 } | 121 } |
| OLD | NEW |