blob: 9856d2da9f3b186131478c184434587cb528328f [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../../build/webrtc.gni")
10
11source_set("utility") {
12 sources = [
13 "interface/audio_frame_operations.h",
14 "interface/file_player.h",
15 "interface/file_recorder.h",
16 "interface/helpers_android.h",
17 "interface/process_thread.h",
18 "interface/rtp_dump.h",
19 "source/audio_frame_operations.cc",
20 "source/coder.cc",
21 "source/coder.h",
22 "source/file_player_impl.cc",
23 "source/file_player_impl.h",
24 "source/file_recorder_impl.cc",
25 "source/file_recorder_impl.h",
26 "source/helpers_android.cc",
27 "source/process_thread_impl.cc",
28 "source/process_thread_impl.h",
29 "source/rtp_dump_impl.cc",
30 "source/rtp_dump_impl.h",
31 ]
32
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000033 if (is_clang) {
34 # Suppress warnings from Chrome's Clang plugins.
35 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
36 configs -= [ "//build/config/clang:find_bad_constructs" ]
37 }
38
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000039 deps = [
40 "../../common_audio",
41 "../../system_wrappers",
42 "../audio_coding",
43 "../media_file",
44 ]
45 if (enable_video) {
46 sources += [
47 "source/frame_scaler.cc",
48 "source/video_coder.cc",
49 "source/video_frames_queue.cc",
50 ]
51
52 deps += [ "../video_coding" ]
53 }
54}