Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: webrtc/api/BUILD.gn

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/api/array_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 deps += [ "$rtc_libyuv_dir" ] 191 deps += [ "$rtc_libyuv_dir" ]
192 public_deps = [ 192 public_deps = [
193 "$rtc_libyuv_dir", 193 "$rtc_libyuv_dir",
194 ] 194 ]
195 } else { 195 } else {
196 # Need to add a directory normally exported by libyuv. 196 # Need to add a directory normally exported by libyuv.
197 include_dirs = [ "$rtc_libyuv_dir/include" ] 197 include_dirs = [ "$rtc_libyuv_dir/include" ]
198 } 198 }
199 } 199 }
200 200
201 rtc_source_set("array_view") {
202 sources = [
203 "array_view.h",
204 ]
205 deps = [
206 "../rtc_base:rtc_base_approved",
207 ]
208 }
209
201 rtc_source_set("libjingle_peerconnection_test_api") { 210 rtc_source_set("libjingle_peerconnection_test_api") {
202 testonly = true 211 testonly = true
203 sources = [ 212 sources = [
204 "test/fakeconstraints.h", 213 "test/fakeconstraints.h",
205 ] 214 ]
206 215
207 public_deps = [ 216 public_deps = [
208 ":libjingle_peerconnection_api", 217 ":libjingle_peerconnection_api",
209 ] 218 ]
210 219
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 rtc_source_set("rtc_api_unittests") { 258 rtc_source_set("rtc_api_unittests") {
250 testonly = true 259 testonly = true
251 260
252 # Skip restricting visibility on mobile platforms since the tests on those 261 # Skip restricting visibility on mobile platforms since the tests on those
253 # gets additional generated targets which would require many lines here to 262 # gets additional generated targets which would require many lines here to
254 # cover (which would be confusing to read and hard to maintain). 263 # cover (which would be confusing to read and hard to maintain).
255 if (!is_android && !is_ios) { 264 if (!is_android && !is_ios) {
256 visibility = [ "..:rtc_unittests" ] 265 visibility = [ "..:rtc_unittests" ]
257 } 266 }
258 sources = [ 267 sources = [
268 "array_view_unittest.cc",
259 "ortc/mediadescription_unittest.cc", 269 "ortc/mediadescription_unittest.cc",
260 "ortc/sessiondescription_unittest.cc", 270 "ortc/sessiondescription_unittest.cc",
261 "rtcerror_unittest.cc", 271 "rtcerror_unittest.cc",
262 "rtpparameters_unittest.cc", 272 "rtpparameters_unittest.cc",
263 ] 273 ]
264 274
265 if (!build_with_chromium && is_clang) { 275 if (!build_with_chromium && is_clang) {
266 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 276 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
267 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 277 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
268 } 278 }
269 279
270 deps = [ 280 deps = [
281 ":array_view",
271 ":libjingle_peerconnection_api", 282 ":libjingle_peerconnection_api",
272 ":ortc_api", 283 ":ortc_api",
284 "../rtc_base:rtc_base_approved",
285 "../rtc_base:rtc_base_tests_utils",
273 "../test:test_support", 286 "../test:test_support",
274 ] 287 ]
275 } 288 }
276 } 289 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/array_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698