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