webrtc/rtc_base/system/BUILD.gn
Jiawei Ou dcbdd2c140 Add Foundation.framework to cocoa_threading target
https://webrtc-review.googlesource.com/c/src/+/105301 remove the dependency to rtc_base_generic, it also removed the dependnecy to Foundation.framework. This CL adds it back.

Bug: webrtc:9838
Change-Id: I861e73d13eb36d2c3a09d998a6def9512066f0d5
Reviewed-on: https://webrtc-review.googlesource.com/c/122621
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Jiawei Ou <ouj@fb.com>
Cr-Commit-Position: refs/heads/master@{#26654}
2019-02-12 22:07:20 +00:00

80 lines
1.4 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" ]
}
}