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("../webrtc.gni") | 9 import("../webrtc.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 if (!build_with_chromium && is_clang) { | 155 if (!build_with_chromium && is_clang) { |
156 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 156 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
158 } | 158 } |
159 | 159 |
160 if (is_android) { | 160 if (is_android) { |
161 deps += [ "//base:base" ] | 161 deps += [ "//base:base" ] |
162 } | 162 } |
163 | 163 |
164 if (is_ios && !build_with_chromium) { | 164 if (is_ios && !build_with_chromium) { |
165 deps += [ "../sdk:objc_common" ] | 165 deps += [ "../sdk:common_objc" ] |
166 } | 166 } |
167 | 167 |
168 if (rtc_use_memcheck) { | 168 if (rtc_use_memcheck) { |
169 data = valgrind_webrtc_dependencies | 169 data = valgrind_webrtc_dependencies |
170 } | 170 } |
171 } | 171 } |
172 | 172 |
173 if (!build_with_chromium) { | 173 if (!build_with_chromium) { |
174 # This target depends on //third_party/gflags and since chromium does not | 174 # This target depends on //third_party/gflags and since chromium does not |
175 # have gflags it causes an error when Gn parses this BUILD.gn file. | 175 # have gflags it causes an error when Gn parses this BUILD.gn file. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 if (!build_with_chromium && is_clang) { | 235 if (!build_with_chromium && is_clang) { |
236 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 236 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
237 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 237 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
238 } | 238 } |
239 | 239 |
240 if (is_android) { | 240 if (is_android) { |
241 deps += [ "//base:base" ] | 241 deps += [ "//base:base" ] |
242 } | 242 } |
243 | 243 |
244 if (is_ios) { | 244 if (is_ios) { |
245 deps += [ "../sdk:objc_common" ] | 245 deps += [ "../sdk:common_objc" ] |
246 } | 246 } |
247 | 247 |
248 if (rtc_use_memcheck) { | 248 if (rtc_use_memcheck) { |
249 data = valgrind_webrtc_dependencies | 249 data = valgrind_webrtc_dependencies |
250 } | 250 } |
251 } | 251 } |
252 | 252 |
253 rtc_source_set("test_support_test_output") { | 253 rtc_source_set("test_support_test_output") { |
254 testonly = true | 254 testonly = true |
255 sources = [ | 255 sources = [ |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 | 352 |
353 if (is_ios) { | 353 if (is_ios) { |
354 rtc_source_set("fileutils_objc") { | 354 rtc_source_set("fileutils_objc") { |
355 visibility = [ ":*" ] | 355 visibility = [ ":*" ] |
356 sources = [ | 356 sources = [ |
357 "testsupport/iosfileutils.mm", | 357 "testsupport/iosfileutils.mm", |
358 ] | 358 ] |
359 deps = [ | 359 deps = [ |
360 "..:webrtc_common", | 360 "..:webrtc_common", |
361 "../rtc_base:rtc_base_approved", | 361 "../rtc_base:rtc_base_approved", |
362 "../sdk:objc_common", | 362 "../sdk:common_objc", |
363 ] | 363 ] |
364 } | 364 } |
365 } | 365 } |
366 | 366 |
367 rtc_source_set("fileutils") { | 367 rtc_source_set("fileutils") { |
368 testonly = true | 368 testonly = true |
369 visibility = [ ":*" ] | 369 visibility = [ ":*" ] |
370 sources = [ | 370 sources = [ |
371 "testsupport/fileutils.cc", | 371 "testsupport/fileutils.cc", |
372 "testsupport/fileutils.h", | 372 "testsupport/fileutils.h", |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 java_files = [ | 712 java_files = [ |
713 "android/org/webrtc/native_test/RTCNativeUnitTest.java", | 713 "android/org/webrtc/native_test/RTCNativeUnitTest.java", |
714 "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java", | 714 "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java", |
715 ] | 715 ] |
716 deps = [ | 716 deps = [ |
717 "../rtc_base:base_java", | 717 "../rtc_base:base_java", |
718 "//testing/android/native_test:native_test_java", | 718 "//testing/android/native_test:native_test_java", |
719 ] | 719 ] |
720 } | 720 } |
721 } | 721 } |
OLD | NEW |