mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
# 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/buildflags/buildflags.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",
|
|
]
|
|
}
|