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 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 configs += [ "..:common_config" ] | 48 configs += [ "..:common_config" ] |
49 public_configs = [ "..:common_inherited_config" ] | 49 public_configs = [ "..:common_inherited_config" ] |
50 | 50 |
51 if (is_clang) { | 51 if (is_clang) { |
52 # Suppress warnings from Chrome's Clang plugins. | 52 # Suppress warnings from Chrome's Clang plugins. |
53 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 53 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
54 configs -= [ "//build/config/clang:find_bad_constructs" ] | 54 configs -= [ "//build/config/clang:find_bad_constructs" ] |
55 } | 55 } |
56 | 56 |
57 if (is_win) { | |
58 cflags = [ | |
59 # TODO(jschuh): Bug 1348: fix size_t to int truncations. | |
60 "/wd4267", # size_t to int truncation. | |
61 | |
62 # Bug 261. | |
63 "/wd4373", # legacy warning for ignoring const / volatile in signatures. | |
64 ] | |
65 } | |
66 | |
67 deps = [ | 57 deps = [ |
68 "..:webrtc_common", | 58 "..:webrtc_common", |
69 "../common_video", | 59 "../common_video", |
70 "../modules/bitrate_controller", | 60 "../modules/bitrate_controller", |
71 "../modules/rtp_rtcp", | 61 "../modules/rtp_rtcp", |
72 "../modules/utility", | 62 "../modules/utility", |
73 "../modules/video_capture:video_capture_module", | 63 "../modules/video_capture:video_capture_module", |
74 "../modules/video_coding", | 64 "../modules/video_coding", |
75 "../modules/video_processing", | 65 "../modules/video_processing", |
76 "../modules/video_render:video_render_module", | 66 "../modules/video_render:video_render_module", |
77 "../voice_engine", | 67 "../voice_engine", |
78 "../system_wrappers", | 68 "../system_wrappers", |
79 ] | 69 ] |
80 } | 70 } |
OLD | NEW |