kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../build/webrtc.gni") |
| 10 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 11 | config("media_file_config") { |
brettw@chromium.org | 519c9e2 | 2014-09-08 22:45:18 +0000 | [diff] [blame] | 12 | visibility = [ ":*" ] # Only targets in this file can depend on this. |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 13 | } |
| 14 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 15 | rtc_source_set("media_file") { |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 16 | sources = [ |
Henrik Kjellander | 0b9e29c | 2015-11-16 11:12:24 +0100 | [diff] [blame] | 17 | "media_file.h", |
| 18 | "media_file_defines.h", |
| 19 | "media_file_impl.cc", |
| 20 | "media_file_impl.h", |
| 21 | "media_file_utility.cc", |
| 22 | "media_file_utility.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 23 | ] |
| 24 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 25 | public_configs = [ |
| 26 | "../..:common_inherited_config", |
| 27 | ":media_file_config", |
| 28 | ] |
| 29 | |
kjellander | 8f4419b | 2016-06-02 02:09:52 -0700 | [diff] [blame] | 30 | # TODO(jschuh): Bug 1348: fix this warning. |
| 31 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 32 | |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 33 | 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. |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 36 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 37 | } |
| 38 | |
andresp@webrtc.org | 87a592d | 2015-02-25 03:18:23 +0000 | [diff] [blame] | 39 | deps = [ |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 40 | "../..:webrtc_common", |
andresp@webrtc.org | 87a592d | 2015-02-25 03:18:23 +0000 | [diff] [blame] | 41 | "../../common_audio", |
kjellander | 8f4419b | 2016-06-02 02:09:52 -0700 | [diff] [blame] | 42 | "../../system_wrappers", |
andresp@webrtc.org | 87a592d | 2015-02-25 03:18:23 +0000 | [diff] [blame] | 43 | ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 44 | } |