| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 deps = [ | 40 deps = [ |
| 41 "//base", | 41 "//base", |
| 42 "//base/test:test_support", | 42 "//base/test:test_support", |
| 43 "//media:test_support", | 43 "//media:test_support", |
| 44 "//media/audio:test_support", | 44 "//media/audio:test_support", |
| 45 "//media/base:test_support", | 45 "//media/base:test_support", |
| 46 "//testing/gmock", | 46 "//testing/gmock", |
| 47 "//testing/gtest", | 47 "//testing/gtest", |
| 48 ] | 48 ] |
| 49 |
| 50 if (enable_media_remoting) { |
| 51 deps += [ |
| 52 "//media/remoting:media_remoting_proto", |
| 53 "//media/remoting:media_remoting_tests", |
| 54 ] |
| 55 } |
| 49 } | 56 } |
| 50 } | 57 } |
| 51 | 58 |
| 52 source_set("pipeline_integration_tests") { | 59 source_set("pipeline_integration_tests") { |
| 53 testonly = true | 60 testonly = true |
| 54 | 61 |
| 55 # Even if FFmpeg is enabled on Android we don't want these. | 62 # Even if FFmpeg is enabled on Android we don't want these. |
| 56 # TODO(watk): Refactor tests that could be made to run on Android. See | 63 # TODO(watk): Refactor tests that could be made to run on Android. See |
| 57 # http://crbug.com/570762 | 64 # http://crbug.com/570762 |
| 58 if (media_use_ffmpeg && !is_android) { | 65 if (media_use_ffmpeg && !is_android) { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 ] | 163 ] |
| 157 | 164 |
| 158 libfuzzer_options = [ | 165 libfuzzer_options = [ |
| 159 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error. | 166 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error. |
| 160 "runs=500000", | 167 "runs=500000", |
| 161 | 168 |
| 162 # This is done to suppress tons of log messages generated by gmock asserts. | 169 # This is done to suppress tons of log messages generated by gmock asserts. |
| 163 "close_fd_mask=1", | 170 "close_fd_mask=1", |
| 164 ] | 171 ] |
| 165 } | 172 } |
| OLD | NEW |