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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 public_configs = [ "../..:common_inherited_config" ] | 131 public_configs = [ "../..:common_inherited_config" ] |
132 | 132 |
133 if (is_clang && !is_nacl) { | 133 if (is_clang && !is_nacl) { |
134 # Suppress warnings from Chrome's Clang plugins. | 134 # Suppress warnings from Chrome's Clang plugins. |
135 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 135 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
136 configs -= [ "//build/config/clang:find_bad_constructs" ] | 136 configs -= [ "//build/config/clang:find_bad_constructs" ] |
137 } | 137 } |
138 | 138 |
139 deps = [ | 139 deps = [ |
140 ":primitives", | 140 ":primitives", |
141 "../../base:rtc_base_approved", | 141 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
142 "../../system_wrappers", | 142 "../../system_wrappers", |
143 ] | 143 ] |
144 | 144 |
145 if (use_desktop_capture_differ_sse2) { | 145 if (use_desktop_capture_differ_sse2) { |
146 deps += [ ":desktop_capture_differ_sse2" ] | 146 deps += [ ":desktop_capture_differ_sse2" ] |
147 } | 147 } |
148 } | 148 } |
149 | 149 |
150 if (use_desktop_capture_differ_sse2) { | 150 if (use_desktop_capture_differ_sse2) { |
151 # Have to be compiled as a separate target because it needs to be compiled | 151 # Have to be compiled as a separate target because it needs to be compiled |
152 # with SSE2 enabled. | 152 # with SSE2 enabled. |
153 source_set("desktop_capture_differ_sse2") { | 153 source_set("desktop_capture_differ_sse2") { |
154 visibility = [ ":*" ] | 154 visibility = [ ":*" ] |
155 sources = [ | 155 sources = [ |
156 "differ_block_sse2.cc", | 156 "differ_block_sse2.cc", |
157 "differ_block_sse2.h", | 157 "differ_block_sse2.h", |
158 ] | 158 ] |
159 | 159 |
160 configs += [ "../..:common_config" ] | 160 configs += [ "../..:common_config" ] |
161 public_configs = [ "../..:common_inherited_config" ] | 161 public_configs = [ "../..:common_inherited_config" ] |
162 | 162 |
163 if (is_posix && !is_mac) { | 163 if (is_posix && !is_mac) { |
164 cflags = [ "-msse2" ] | 164 cflags = [ "-msse2" ] |
165 } | 165 } |
166 } | 166 } |
167 } | 167 } |
OLD | NEW |