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/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 ] | 143 ] |
144 } | 144 } |
145 | 145 |
146 if (is_win) { | 146 if (is_win) { |
147 libs = [ | 147 libs = [ |
148 "d3d11.lib", | 148 "d3d11.lib", |
149 "dxgi.lib", | 149 "dxgi.lib", |
150 ] | 150 ] |
151 } | 151 } |
152 | 152 |
153 if (!build_with_chromium && is_clang) { | |
154 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
155 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
156 } | |
157 | |
158 deps = [ | 153 deps = [ |
159 ":primitives", | 154 ":primitives", |
160 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. | 155 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
161 "../../system_wrappers", | 156 "../../system_wrappers", |
162 ] | 157 ] |
163 | 158 |
164 if (use_desktop_capture_differ_sse2) { | 159 if (use_desktop_capture_differ_sse2) { |
165 deps += [ ":desktop_capture_differ_sse2" ] | 160 deps += [ ":desktop_capture_differ_sse2" ] |
166 } | 161 } |
167 } | 162 } |
168 | 163 |
169 if (use_desktop_capture_differ_sse2) { | 164 if (use_desktop_capture_differ_sse2) { |
170 # Have to be compiled as a separate target because it needs to be compiled | 165 # Have to be compiled as a separate target because it needs to be compiled |
171 # with SSE2 enabled. | 166 # with SSE2 enabled. |
172 rtc_static_library("desktop_capture_differ_sse2") { | 167 rtc_static_library("desktop_capture_differ_sse2") { |
173 visibility = [ ":*" ] | 168 visibility = [ ":*" ] |
174 sources = [ | 169 sources = [ |
175 "differ_vector_sse2.cc", | 170 "differ_vector_sse2.cc", |
176 "differ_vector_sse2.h", | 171 "differ_vector_sse2.h", |
177 ] | 172 ] |
178 | 173 |
179 if (is_posix) { | 174 if (is_posix) { |
180 cflags = [ "-msse2" ] | 175 cflags = [ "-msse2" ] |
181 } | 176 } |
182 } | 177 } |
183 } | 178 } |
OLD | NEW |