mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
68 lines
1.6 KiB
Plaintext
68 lines
1.6 KiB
Plaintext
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
static_library("router") {
|
||
|
public_deps = [
|
||
|
"//base:base",
|
||
|
"//base:i18n",
|
||
|
"//net:net",
|
||
|
"//third_party/icu",
|
||
|
"//url:url",
|
||
|
]
|
||
|
|
||
|
sources = [
|
||
|
# media_sink_internal needs to be included with Android due to typemapping.
|
||
|
# Ideally, Android shouldn't be the case since it does not use Mojo for
|
||
|
# Media Router.
|
||
|
"discovery/media_sink_internal.cc",
|
||
|
"discovery/media_sink_internal.h",
|
||
|
"issue.cc",
|
||
|
"issue.h",
|
||
|
"media_route.cc",
|
||
|
"media_route.h",
|
||
|
"media_route_provider_helper.cc",
|
||
|
"media_route_provider_helper.h",
|
||
|
"media_sink.cc",
|
||
|
"media_sink.h",
|
||
|
"media_source.cc",
|
||
|
"media_source.h",
|
||
|
"media_source_helper.cc",
|
||
|
"media_source_helper.h",
|
||
|
"media_status.cc",
|
||
|
"media_status.h",
|
||
|
"route_request_result.cc",
|
||
|
"route_request_result.h",
|
||
|
]
|
||
|
|
||
|
deps = []
|
||
|
|
||
|
if (!is_android) {
|
||
|
sources += [
|
||
|
"discovery/media_sink_service_base.cc",
|
||
|
"discovery/media_sink_service_base.h",
|
||
|
"discovery/media_sink_service_util.cc",
|
||
|
"discovery/media_sink_service_util.h",
|
||
|
"providers/cast/cast_media_source.cc",
|
||
|
"providers/cast/cast_media_source.h",
|
||
|
]
|
||
|
|
||
|
deps += [ "//components/cast_channel:cast_channel" ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static_library("test_support") {
|
||
|
testonly = true
|
||
|
deps = [
|
||
|
"//base:base",
|
||
|
"//chrome/test:test_support",
|
||
|
]
|
||
|
public_deps = [
|
||
|
":router",
|
||
|
]
|
||
|
sources = [
|
||
|
"test/test_helper.cc",
|
||
|
"test/test_helper.h",
|
||
|
]
|
||
|
}
|