OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 import("//testing/libfuzzer/fuzzer_test.gni") | 6 import("//testing/libfuzzer/fuzzer_test.gni") |
7 | 7 |
8 source_set("run_all_unittests") { | 8 source_set("run_all_unittests") { |
9 testonly = true | 9 testonly = true |
10 sources = [ | 10 sources = [ |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 # Needed for the opus_config | 72 # Needed for the opus_config |
73 "//third_party/opus", | 73 "//third_party/opus", |
74 "//url", | 74 "//url", |
75 | 75 |
76 # TODO(dalecurtis): Required since the gmock header is included in the | 76 # TODO(dalecurtis): Required since the gmock header is included in the |
77 # header for pipeline_integration_test_base.h. This should be moved into | 77 # header for pipeline_integration_test_base.h. This should be moved into |
78 # the .cc file to avoid the extra dependency here. | 78 # the .cc file to avoid the extra dependency here. |
79 "//testing/gmock", | 79 "//testing/gmock", |
80 ] | 80 ] |
| 81 |
| 82 if (enable_media_remoting) { |
| 83 deps += [ |
| 84 "//media/remoting:media_remoting_proto", |
| 85 "//media/remoting:media_remoting_tests", |
| 86 ] |
| 87 } |
81 } | 88 } |
82 } | 89 } |
83 | 90 |
84 source_set("pipeline_integration_perftests") { | 91 source_set("pipeline_integration_perftests") { |
85 testonly = true | 92 testonly = true |
86 | 93 |
87 if (media_use_ffmpeg) { | 94 if (media_use_ffmpeg) { |
88 sources = [ | 95 sources = [ |
89 "pipeline_integration_perftest.cc", | 96 "pipeline_integration_perftest.cc", |
90 ] | 97 ] |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 ] | 162 ] |
156 | 163 |
157 libfuzzer_options = [ | 164 libfuzzer_options = [ |
158 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error. | 165 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error. |
159 "runs=500000", | 166 "runs=500000", |
160 | 167 |
161 # This is done to suppress tons of log messages generated by gmock asserts. | 168 # This is done to suppress tons of log messages generated by gmock asserts. |
162 "close_fd_mask=1", | 169 "close_fd_mask=1", |
163 ] | 170 ] |
164 } | 171 } |
OLD | NEW |