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

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

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: 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') | webrtc/api/array_view.h » ('J')
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 deps += [ "$rtc_libyuv_dir" ] 190 deps += [ "$rtc_libyuv_dir" ]
191 public_deps = [ 191 public_deps = [
192 "$rtc_libyuv_dir", 192 "$rtc_libyuv_dir",
193 ] 193 ]
194 } else { 194 } else {
195 # Need to add a directory normally exported by libyuv. 195 # Need to add a directory normally exported by libyuv.
196 include_dirs = [ "$rtc_libyuv_dir/include" ] 196 include_dirs = [ "$rtc_libyuv_dir/include" ]
197 } 197 }
198 } 198 }
199 199
200 rtc_source_set("array_view") {
201 sources = [
202 "array_view.h",
203 ]
204 deps = [
205 "../rtc_base:rtc_base_approved",
206 ]
207 }
208
200 rtc_source_set("libjingle_peerconnection_test_api") { 209 rtc_source_set("libjingle_peerconnection_test_api") {
201 testonly = true 210 testonly = true
202 sources = [ 211 sources = [
203 "test/fakeconstraints.h", 212 "test/fakeconstraints.h",
204 ] 213 ]
205 214
206 public_deps = [ 215 public_deps = [
207 ":libjingle_peerconnection_api", 216 ":libjingle_peerconnection_api",
208 ] 217 ]
209 218
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 rtc_source_set("rtc_api_unittests") { 257 rtc_source_set("rtc_api_unittests") {
249 testonly = true 258 testonly = true
250 259
251 # Skip restricting visibility on mobile platforms since the tests on those 260 # Skip restricting visibility on mobile platforms since the tests on those
252 # gets additional generated targets which would require many lines here to 261 # gets additional generated targets which would require many lines here to
253 # cover (which would be confusing to read and hard to maintain). 262 # cover (which would be confusing to read and hard to maintain).
254 if (!is_android && !is_ios) { 263 if (!is_android && !is_ios) {
255 visibility = [ "..:rtc_unittests" ] 264 visibility = [ "..:rtc_unittests" ]
256 } 265 }
257 sources = [ 266 sources = [
267 "array_view_unittest.cc",
258 "ortc/mediadescription_unittest.cc", 268 "ortc/mediadescription_unittest.cc",
259 "ortc/sessiondescription_unittest.cc", 269 "ortc/sessiondescription_unittest.cc",
260 "rtcerror_unittest.cc", 270 "rtcerror_unittest.cc",
261 ] 271 ]
262 272
263 if (!build_with_chromium && is_clang) { 273 if (!build_with_chromium && is_clang) {
264 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 274 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
265 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 275 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
266 } 276 }
277 defines = [ "GTEST_RELATIVE_PATH" ]
mbonadei 2017/09/01 08:08:34 I think we can avoid to define GTEST_RELATIVE_PATH
kwiberg-webrtc 2017/09/01 08:58:02 Done.
278
279 public_deps = [
mbonadei 2017/09/01 08:08:34 Also //testing/gmock is listed in the public_deps
kwiberg-webrtc 2017/09/01 08:58:02 Done.
280 "//testing/gmock",
281 ]
267 282
268 deps = [ 283 deps = [
284 ":array_view",
269 ":libjingle_peerconnection_api", 285 ":libjingle_peerconnection_api",
270 ":ortc_api", 286 ":ortc_api",
287 "../rtc_base:rtc_base_approved",
288 "../rtc_base:rtc_base_tests_utils",
271 "../test:test_support", 289 "../test:test_support",
272 ] 290 ]
273 } 291 }
274 } 292 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/array_view.h » ('j') | webrtc/api/array_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698