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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 if (is_ios || is_mac) { | 70 if (is_ios || is_mac) { |
71 sources += [ | 71 sources += [ |
72 "corevideo_frame_buffer.cc", | 72 "corevideo_frame_buffer.cc", |
73 "include/corevideo_frame_buffer.h", | 73 "include/corevideo_frame_buffer.h", |
74 ] | 74 ] |
75 libs = [ "CoreVideo.framework" ] | 75 libs = [ "CoreVideo.framework" ] |
76 } | 76 } |
77 } | 77 } |
78 | 78 |
79 if (rtc_include_tests) { | 79 if (rtc_include_tests) { |
80 if (is_android || is_ios) { | 80 common_video_resources = [ "//resources/foreman_cif.yuv" ] |
81 common_video_resources = [ "//resources/foreman_cif.yuv" ] | |
82 } | |
83 | 81 |
84 if (is_ios) { | 82 if (is_ios) { |
85 bundle_data("common_video_unittests_bundle_data") { | 83 bundle_data("common_video_unittests_bundle_data") { |
86 testonly = true | 84 testonly = true |
87 sources = common_video_resources | 85 sources = common_video_resources |
88 outputs = [ | 86 outputs = [ |
89 "{{bundle_resources_dir}}/{{source_file_part}}", | 87 "{{bundle_resources_dir}}/{{source_file_part}}", |
90 ] | 88 ] |
91 } | 89 } |
92 } | 90 } |
(...skipping 22 matching lines...) Expand all Loading... |
115 | 113 |
116 deps = [ | 114 deps = [ |
117 ":common_video", | 115 ":common_video", |
118 "../system_wrappers:system_wrappers", | 116 "../system_wrappers:system_wrappers", |
119 "../test:test_support_main", | 117 "../test:test_support_main", |
120 "../test:video_test_common", | 118 "../test:video_test_common", |
121 "//testing/gmock", | 119 "//testing/gmock", |
122 "//testing/gtest", | 120 "//testing/gtest", |
123 ] | 121 ] |
124 | 122 |
| 123 data = common_video_resources |
125 if (is_android) { | 124 if (is_android) { |
126 deps += [ "//testing/android/native_test:native_test_support" ] | 125 deps += [ "//testing/android/native_test:native_test_support" ] |
127 data = common_video_resources | |
128 shard_timeout = 900 | 126 shard_timeout = 900 |
129 } | 127 } |
130 | 128 |
131 if (is_ios) { | 129 if (is_ios) { |
132 deps += [ ":common_video_unittests_bundle_data" ] | 130 deps += [ ":common_video_unittests_bundle_data" ] |
133 } | 131 } |
134 } | 132 } |
135 } | 133 } |
OLD | NEW |