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