Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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("audio_coding/audio_coding.gni") | 10 import("audio_coding/audio_coding.gni") |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 "media_file", | 22 "media_file", |
| 23 "pacing", | 23 "pacing", |
| 24 "remote_bitrate_estimator", | 24 "remote_bitrate_estimator", |
| 25 "rtp_rtcp", | 25 "rtp_rtcp", |
| 26 "utility", | 26 "utility", |
| 27 "video_coding", | 27 "video_coding", |
| 28 "video_processing", | 28 "video_processing", |
| 29 ] | 29 ] |
| 30 } | 30 } |
| 31 | 31 |
| 32 rtc_source_set("module_api") { | |
| 33 sources = [ | |
| 34 "include/module.h", | |
| 35 "include/module_common_types.h", | |
| 36 ] | |
| 37 deps = [ | |
| 38 "..:webrtc_common", | |
| 39 "../api:video_frame_api", | |
| 40 "../base:rtc_base_approved", | |
| 41 ] | |
| 42 } | |
| 43 | |
| 32 if (rtc_include_tests) { | 44 if (rtc_include_tests) { |
| 33 modules_tests_resources = [ | 45 modules_tests_resources = [ |
| 34 "//resources/audio_coding/testfile32kHz.pcm", | 46 "//resources/audio_coding/testfile32kHz.pcm", |
| 35 "//resources/audio_coding/teststereo32kHz.pcm", | 47 "//resources/audio_coding/teststereo32kHz.pcm", |
| 36 "//resources/foreman_cif.yuv", | 48 "//resources/foreman_cif.yuv", |
| 37 "//resources/paris_qcif.yuv", | 49 "//resources/paris_qcif.yuv", |
| 38 ] | 50 ] |
| 39 | 51 |
| 40 if (is_ios) { | 52 if (is_ios) { |
| 41 bundle_data("modules_tests_bundle_data") { | 53 bundle_data("modules_tests_bundle_data") { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 193 sources = modules_unittests_resources | 205 sources = modules_unittests_resources |
| 194 outputs = [ | 206 outputs = [ |
| 195 "{{bundle_resources_dir}}/{{source_file_part}}", | 207 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 196 ] | 208 ] |
| 197 } | 209 } |
| 198 } | 210 } |
| 199 | 211 |
| 200 rtc_test("modules_unittests") { | 212 rtc_test("modules_unittests") { |
| 201 testonly = true | 213 testonly = true |
| 202 | 214 |
| 203 deps = [] | 215 deps = [ |
| 216 ":module_api", | |
|
kjellander_webrtc
2017/04/25 20:14:40
Move this to line 229
mbonadei
2017/04/26 08:11:39
Done.
| |
| 217 ] | |
| 204 defines = [] | 218 defines = [] |
| 205 sources = [ | 219 sources = [ |
| 206 "module_common_types_unittest.cc", | 220 "module_common_types_unittest.cc", |
| 207 ] | 221 ] |
| 208 | 222 |
| 209 if (!build_with_chromium && is_clang) { | 223 if (!build_with_chromium && is_clang) { |
| 210 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 224 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 211 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 225 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 212 } | 226 } |
| 213 | 227 |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 241 shard_timeout = 900 | 255 shard_timeout = 900 |
| 242 } | 256 } |
| 243 if (is_ios) { | 257 if (is_ios) { |
| 244 info_plist = "//webrtc/test/ios/Info.plist" | 258 info_plist = "//webrtc/test/ios/Info.plist" |
| 245 deps += [ ":modules_unittests_bundle_data" ] | 259 deps += [ ":modules_unittests_bundle_data" ] |
| 246 configs += [ "..:common_objc" ] | 260 configs += [ "..:common_objc" ] |
| 247 ldflags = [ "-ObjC" ] | 261 ldflags = [ "-ObjC" ] |
| 248 } | 262 } |
| 249 } | 263 } |
| 250 } | 264 } |
| OLD | NEW |