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