naiveproxy/extensions/browser/api/display_source/BUILD.gn

44 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# Copyright 2016 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.
import("//build/config/features.gni")
import("//extensions/features/features.gni")
assert(enable_extensions,
"Cannot depend on extensions because enable_extensions=false.")
source_set("display_source") {
sources = [
"display_source_api.cc",
"display_source_api.h",
"display_source_connection_delegate.cc",
"display_source_connection_delegate.h",
"display_source_connection_delegate_factory.cc",
"display_source_connection_delegate_factory.h",
"display_source_event_router.cc",
"display_source_event_router.h",
"display_source_event_router_factory.cc",
"display_source_event_router_factory.h",
]
if (!is_chromeos) {
if (proprietary_codecs && enable_wifi_display) {
sources += [
"wifi_display/wifi_display_media_service_impl.cc",
"wifi_display/wifi_display_media_service_impl.h",
"wifi_display/wifi_display_session_service_impl.cc",
"wifi_display/wifi_display_session_service_impl.h",
]
}
}
deps = [
"//extensions/common/api",
]
public_deps = [
"//extensions/browser:browser_sources",
]
}