Upstream version 11.40.277.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / bitrate_controller / BUILD.gn
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
11 source_set("bitrate_controller") {
12   sources = [
13     "bitrate_controller_impl.cc",
14     "bitrate_controller_impl.h",
15     "include/bitrate_controller.h",
16     "send_side_bandwidth_estimation.cc",
17     "send_side_bandwidth_estimation.h",
18   ]
19
20   if (is_win) {
21     cflags = [
22       # TODO(jschuh): Bug 1348: fix this warning.
23       "/wd4267"  # size_t to int truncations
24     ]
25   }
26
27   configs += [ "../..:common_config" ]
28   public_configs = [ "../..:common_inherited_config" ]
29
30   if (is_clang) {
31     # Suppress warnings from Chrome's Clang plugins.
32     # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
33     configs -= [ "//build/config/clang:find_bad_constructs" ]
34   }
35
36   deps = [ "../../system_wrappers" ]
37 }