Reason for revert: Reverting, because it turns out that third-party code was using webrtc::FilePlayer. I'm not at all sure that this is something WebRTC ought to be exporting, but since we did export it, we have to live with it for now. Original issue's description: > Move FilePlayer and FileRecorder to Voice Engine > > Because Voice Engine was the only user. > > (This has been landed twice before, as > https://codereview.webrtc.org/2037623002 and > https://codereview.webrtc.org/2240163002. Third time's a charm!) > > NOPRESUBMIT=True > TBR=kjellander@webrtc.org > > Committed: https://crrev.com/427ce3d86f6328dc994f84a15c28bb7bfbaa46ef > Cr-Commit-Position: refs/heads/master@{#13777} TBR= # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.webrtc.org/2245413002 Cr-Commit-Position: refs/heads/master@{#13779}
55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
# Copyright (c) 2014 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("../../build/webrtc.gni")
|
|
|
|
source_set("utility") {
|
|
sources = [
|
|
"include/audio_frame_operations.h",
|
|
"include/file_player.h",
|
|
"include/file_recorder.h",
|
|
"include/helpers_android.h",
|
|
"include/jvm_android.h",
|
|
"include/process_thread.h",
|
|
"source/audio_frame_operations.cc",
|
|
"source/coder.cc",
|
|
"source/coder.h",
|
|
"source/file_player_impl.cc",
|
|
"source/file_player_impl.h",
|
|
"source/file_recorder_impl.cc",
|
|
"source/file_recorder_impl.h",
|
|
"source/helpers_android.cc",
|
|
"source/helpers_ios.mm",
|
|
"source/jvm_android.cc",
|
|
"source/process_thread_impl.cc",
|
|
"source/process_thread_impl.h",
|
|
]
|
|
|
|
configs += [ "../..:common_config" ]
|
|
public_configs = [ "../..:common_inherited_config" ]
|
|
|
|
if (is_clang) {
|
|
# Suppress warnings from Chrome's Clang plugins.
|
|
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
|
configs -= [ "//build/config/clang:find_bad_constructs" ]
|
|
}
|
|
|
|
if (is_ios) {
|
|
libs = [ "AVFoundation.framework" ]
|
|
}
|
|
|
|
deps = [
|
|
"../..:webrtc_common",
|
|
"../../base:rtc_task_queue",
|
|
"../../common_audio",
|
|
"../../system_wrappers",
|
|
"../audio_coding",
|
|
"../media_file",
|
|
]
|
|
}
|