2018-02-05 10:33:35 +01:00
|
|
|
# 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")
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-23 11:49:01 +02:00
|
|
|
rtc_source_set("arch") {
|
|
|
|
|
sources = [
|
|
|
|
|
"arch.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-22 02:59:49 +01:00
|
|
|
rtc_source_set("asm_defines") {
|
|
|
|
|
sources = [
|
|
|
|
|
"asm_defines.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-05 10:33:35 +01:00
|
|
|
rtc_source_set("fallthrough") {
|
|
|
|
|
sources = [
|
|
|
|
|
"fallthrough.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-03-23 10:39:34 +01:00
|
|
|
|
|
|
|
|
rtc_source_set("file_wrapper") {
|
|
|
|
|
sources = [
|
|
|
|
|
"file_wrapper.cc",
|
|
|
|
|
"file_wrapper.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:checks",
|
|
|
|
|
"..:criticalsection",
|
|
|
|
|
"../..:webrtc_common",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-04-27 04:31:53 +02:00
|
|
|
|
|
|
|
|
rtc_source_set("ignore_warnings") {
|
|
|
|
|
sources = [
|
|
|
|
|
"ignore_warnings.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-05-04 13:27:48 +02:00
|
|
|
|
2018-05-23 23:20:38 +02:00
|
|
|
rtc_source_set("inline") {
|
2018-05-04 13:27:48 +02:00
|
|
|
sources = [
|
2018-05-23 23:20:38 +02:00
|
|
|
"inline.h",
|
2018-05-04 13:27:48 +02:00
|
|
|
]
|
|
|
|
|
}
|
2018-05-23 11:49:01 +02:00
|
|
|
|
|
|
|
|
rtc_source_set("unused") {
|
|
|
|
|
sources = [
|
|
|
|
|
"unused.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-09-18 13:15:54 +02:00
|
|
|
|
|
|
|
|
rtc_source_set("rtc_export") {
|
|
|
|
|
sources = [
|
|
|
|
|
"rtc_export.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-10-12 12:57:49 +02:00
|
|
|
|
|
|
|
|
if (is_mac || is_ios) {
|
|
|
|
|
rtc_source_set("cocoa_threading") {
|
|
|
|
|
sources = [
|
|
|
|
|
"cocoa_threading.h",
|
|
|
|
|
"cocoa_threading.mm",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:checks",
|
|
|
|
|
]
|
2019-02-12 13:21:00 -08:00
|
|
|
libs = [ "Foundation.framework" ]
|
2018-10-12 12:57:49 +02:00
|
|
|
}
|
|
|
|
|
}
|
2019-03-12 18:01:51 +01:00
|
|
|
|
|
|
|
|
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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|