| OLD | NEW |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
| 10 | 10 |
| 11 config("media_file_config") { | 11 config("media_file_config") { |
| 12 visibility = [ ":*" ] # Only targets in this file can depend on this. | 12 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 13 } | 13 } |
| 14 | 14 |
| 15 rtc_source_set("media_file") { | 15 rtc_source_set("media_file") { |
| 16 sources = [ | 16 sources = [ |
| 17 "media_file.h", | 17 "media_file.h", |
| 18 "media_file_defines.h", | 18 "media_file_defines.h", |
| 19 "media_file_impl.cc", | 19 "media_file_impl.cc", |
| 20 "media_file_impl.h", | 20 "media_file_impl.h", |
| 21 "media_file_utility.cc", | 21 "media_file_utility.cc", |
| 22 "media_file_utility.h", | 22 "media_file_utility.h", |
| 23 ] | 23 ] |
| 24 | 24 |
| 25 configs += [ "../..:common_config" ] | |
| 26 public_configs = [ | 25 public_configs = [ |
| 27 "../..:common_inherited_config", | 26 "../..:common_inherited_config", |
| 28 ":media_file_config", | 27 ":media_file_config", |
| 29 ] | 28 ] |
| 30 | 29 |
| 31 # TODO(jschuh): Bug 1348: fix this warning. | 30 # TODO(jschuh): Bug 1348: fix this warning. |
| 32 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 31 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 33 | 32 |
| 34 if (is_clang) { | 33 if (is_clang) { |
| 35 # Suppress warnings from Chrome's Clang plugins. | 34 # Suppress warnings from Chrome's Clang plugins. |
| 36 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 35 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 37 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 36 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 38 } | 37 } |
| 39 | 38 |
| 40 deps = [ | 39 deps = [ |
| 41 "../..:webrtc_common", | 40 "../..:webrtc_common", |
| 42 "../../common_audio", | 41 "../../common_audio", |
| 43 "../../system_wrappers", | 42 "../../system_wrappers", |
| 44 ] | 43 ] |
| 45 } | 44 } |
| OLD | NEW |