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

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

Issue 2862543002: Split iOS sdk in to separate targets (Closed)
Patch Set: rebase and minor fixes Created 3 years, 7 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
OLDNEW
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("../webrtc.gni") 9 import("../webrtc.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 if (!build_with_chromium && is_clang) { 133 if (!build_with_chromium && is_clang) {
134 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 134 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
135 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 135 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
136 } 136 }
137 137
138 if (is_android) { 138 if (is_android) {
139 deps += [ "//base:base" ] 139 deps += [ "//base:base" ]
140 } 140 }
141 141
142 if (is_ios && !build_with_chromium) { 142 if (is_ios && !build_with_chromium) {
143 deps += [ "//webrtc/sdk:rtc_sdk_common_objc" ] 143 deps += [ "//webrtc/sdk:objc_common" ]
144 } 144 }
145 145
146 if (rtc_use_memcheck) { 146 if (rtc_use_memcheck) {
147 data = valgrind_webrtc_dependencies 147 data = valgrind_webrtc_dependencies
148 } 148 }
149 } 149 }
150 150
151 if (!build_with_chromium) { 151 if (!build_with_chromium) {
152 # This target depends on //third_party/gflags and since chromium does not 152 # This target depends on //third_party/gflags and since chromium does not
153 # have gflags it causes an error when Gn parses this BUILD.gn file. 153 # have gflags it causes an error when Gn parses this BUILD.gn file.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 if (!build_with_chromium && is_clang) { 203 if (!build_with_chromium && is_clang) {
204 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 204 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
205 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 205 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
206 } 206 }
207 207
208 if (is_android) { 208 if (is_android) {
209 deps += [ "//base:base" ] 209 deps += [ "//base:base" ]
210 } 210 }
211 211
212 if (is_ios) { 212 if (is_ios) {
213 deps += [ "//webrtc/sdk:rtc_sdk_common_objc" ] 213 deps += [ "//webrtc/sdk:objc_common" ]
214 } 214 }
215 215
216 if (rtc_use_memcheck) { 216 if (rtc_use_memcheck) {
217 data = valgrind_webrtc_dependencies 217 data = valgrind_webrtc_dependencies
218 } 218 }
219 } 219 }
220 220
221 rtc_source_set("test_support_isolated_output") { 221 rtc_source_set("test_support_isolated_output") {
222 testonly = true 222 testonly = true
223 sources = [ 223 sources = [
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 309 }
310 310
311 rtc_source_set("fileutils") { 311 rtc_source_set("fileutils") {
312 testonly = true 312 testonly = true
313 sources = [ 313 sources = [
314 "testsupport/fileutils.cc", 314 "testsupport/fileutils.cc",
315 "testsupport/fileutils.h", 315 "testsupport/fileutils.h",
316 ] 316 ]
317 if (is_ios) { 317 if (is_ios) {
318 sources += [ "testsupport/iosfileutils.mm" ] 318 sources += [ "testsupport/iosfileutils.mm" ]
319 deps = [
320 "//webrtc/sdk:objc_common",
321 ]
319 } 322 }
320 visibility = [ ":*" ] 323 visibility = [ ":*" ]
321 } 324 }
322 325
323 rtc_source_set("run_test") { 326 rtc_source_set("run_test") {
324 testonly = true 327 testonly = true
325 sources = [ 328 sources = [
326 "run_test.h", 329 "run_test.h",
327 ] 330 ]
328 if (is_mac) { 331 if (is_mac) {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 "mock_audio_encoder.cc", 528 "mock_audio_encoder.cc",
526 "mock_audio_encoder.h", 529 "mock_audio_encoder.h",
527 "mock_audio_encoder_factory.h", 530 "mock_audio_encoder_factory.h",
528 ] 531 ]
529 532
530 deps = [ 533 deps = [
531 "../api/audio_codecs:audio_codecs_api", 534 "../api/audio_codecs:audio_codecs_api",
532 "//testing/gmock", 535 "//testing/gmock",
533 ] 536 ]
534 } 537 }
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/UnitTests/avformatmappertests.mm ('k') | webrtc/test/testsupport/iosfileutils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698