Chromium Code Reviews| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 54 # Even if FFmpeg is enabled on Android we don't want these. | 54 # Even if FFmpeg is enabled on Android we don't want these. |
| 55 # TODO(watk): Refactor tests that could be made to run on Android. See | 55 # TODO(watk): Refactor tests that could be made to run on Android. See |
| 56 # http://crbug.com/570762 | 56 # http://crbug.com/570762 |
| 57 if (media_use_ffmpeg && !is_android) { | 57 if (media_use_ffmpeg && !is_android) { |
| 58 sources = [ | 58 sources = [ |
| 59 "pipeline_integration_test.cc", | 59 "pipeline_integration_test.cc", |
| 60 ] | 60 ] |
| 61 | 61 |
| 62 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 62 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 63 | 63 |
| 64 # Needed for the opus_config | |
| 65 public_deps = [ | |
| 66 "//third_party/opus", | |
|
xhwang
2016/12/08 05:50:27
OOC, why this needs to be a public_deps, will a pl
| |
| 67 ] | |
| 68 | |
| 64 deps = [ | 69 deps = [ |
| 65 ":pipeline_integration_test_base", | 70 ":pipeline_integration_test_base", |
| 66 "//base", | 71 "//base", |
| 67 "//media:test_support", | 72 "//media:test_support", |
| 68 "//media/base:test_support", | 73 "//media/base:test_support", |
| 69 "//media/mojo/clients", | 74 "//media/mojo/clients", |
| 70 "//services/service_manager/public/cpp:service_test_support", | 75 "//services/service_manager/public/cpp:service_test_support", |
| 71 "//url", | 76 "//url", |
| 72 | 77 |
| 73 # TODO(dalecurtis): Required since the gmock header is included in the | 78 # TODO(dalecurtis): Required since the gmock header is included in the |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 # TODO(dalecurtis): Required since the gmock header is included in the | 152 # TODO(dalecurtis): Required since the gmock header is included in the |
| 148 # header for pipeline_integration_test_base.h. This should be | 153 # header for pipeline_integration_test_base.h. This should be |
| 149 # moved into the .cc file to avoid the extra dependency here. | 154 # moved into the .cc file to avoid the extra dependency here. |
| 150 "//testing/gmock", | 155 "//testing/gmock", |
| 151 "//ui/gfx:test_support", | 156 "//ui/gfx:test_support", |
| 152 ] | 157 ] |
| 153 | 158 |
| 154 # 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. |
| 155 libfuzzer_options = [ "runs=500000" ] | 160 libfuzzer_options = [ "runs=500000" ] |
| 156 } | 161 } |
| OLD | NEW |