mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 00:57:49 +01:00

The video decoder thread is the pilot user. For now this is an Android-only feature, since that's the only platform we can print stack traces on. Bug: webrtc:9987 Change-Id: Ie638c619673b5f159d91a32683fd787baf46479a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/126222 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27127}
96 lines
1.7 KiB
Text
96 lines
1.7 KiB
Text
# Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
import("../../webrtc.gni")
|
|
if (is_android) {
|
|
import("//build/config/android/config.gni")
|
|
import("//build/config/android/rules.gni")
|
|
}
|
|
|
|
rtc_source_set("arch") {
|
|
sources = [
|
|
"arch.h",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("asm_defines") {
|
|
sources = [
|
|
"asm_defines.h",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("fallthrough") {
|
|
sources = [
|
|
"fallthrough.h",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("file_wrapper") {
|
|
sources = [
|
|
"file_wrapper.cc",
|
|
"file_wrapper.h",
|
|
]
|
|
deps = [
|
|
"..:checks",
|
|
"..:criticalsection",
|
|
"../..:webrtc_common",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("ignore_warnings") {
|
|
sources = [
|
|
"ignore_warnings.h",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("inline") {
|
|
sources = [
|
|
"inline.h",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("unused") {
|
|
sources = [
|
|
"unused.h",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("rtc_export") {
|
|
sources = [
|
|
"rtc_export.h",
|
|
]
|
|
}
|
|
|
|
if (is_mac || is_ios) {
|
|
rtc_source_set("cocoa_threading") {
|
|
sources = [
|
|
"cocoa_threading.h",
|
|
"cocoa_threading.mm",
|
|
]
|
|
deps = [
|
|
"..:checks",
|
|
]
|
|
libs = [ "Foundation.framework" ]
|
|
}
|
|
}
|
|
|
|
rtc_source_set("thread_registry") {
|
|
sources = [
|
|
"thread_registry.h",
|
|
]
|
|
deps = [
|
|
"..:rtc_base_approved",
|
|
]
|
|
if (is_android && !build_with_chromium) {
|
|
sources += [ "thread_registry.cc" ]
|
|
deps += [
|
|
"../../sdk/android:native_api_stacktrace",
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
]
|
|
}
|
|
}
|