| 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("pipeline_integration_test_base") { | 8 source_set("pipeline_integration_test_base") { |
| 9 testonly = true | 9 testonly = true |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 # http://crbug.com/570762 | 37 # http://crbug.com/570762 |
| 38 if (media_use_ffmpeg && !is_android) { | 38 if (media_use_ffmpeg && !is_android) { |
| 39 sources = [ | 39 sources = [ |
| 40 "pipeline_integration_test.cc", | 40 "pipeline_integration_test.cc", |
| 41 ] | 41 ] |
| 42 | 42 |
| 43 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 43 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 44 | 44 |
| 45 deps = [ | 45 deps = [ |
| 46 ":pipeline_integration_test_base", | 46 ":pipeline_integration_test_base", |
| 47 "//base", |
| 48 "//media:test_support", |
| 49 "//media/base:test_support", |
| 50 "//media/mojo/clients", |
| 51 "//services/shell/public/cpp:service_test_support", |
| 47 "//url", | 52 "//url", |
| 48 | 53 |
| 49 # TODO(dalecurtis): Required since the gmock header is included in the | 54 # TODO(dalecurtis): Required since the gmock header is included in the |
| 50 # header for pipeline_integration_test_base.h. This should be moved into | 55 # header for pipeline_integration_test_base.h. This should be moved into |
| 51 # the .cc file to avoid the extra dependency here. | 56 # the .cc file to avoid the extra dependency here. |
| 52 "//testing/gmock", | 57 "//testing/gmock", |
| 53 ] | 58 ] |
| 54 } | 59 } |
| 55 } | 60 } |
| 56 | 61 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 85 ] | 90 ] |
| 86 | 91 |
| 87 defines = [ "MOJO_RENDERER" ] | 92 defines = [ "MOJO_RENDERER" ] |
| 88 | 93 |
| 89 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 94 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 90 | 95 |
| 91 deps = [ | 96 deps = [ |
| 92 ":pipeline_integration_test_base", | 97 ":pipeline_integration_test_base", |
| 93 "//base", | 98 "//base", |
| 94 "//base/test:test_support", | 99 "//base/test:test_support", |
| 95 "//media", | |
| 96 "//media:test_support", | 100 "//media:test_support", |
| 97 "//media/audio:test_support", | 101 "//media/audio:test_support", |
| 98 "//media/base:test_support", | 102 "//media/base:test_support", |
| 99 "//media/mojo/clients", | 103 "//media/mojo/clients", |
| 100 "//media/mojo/interfaces", | 104 "//media/mojo/interfaces", |
| 101 "//media/mojo/services", | 105 "//media/mojo/services", |
| 102 "//services/shell/public/cpp:service_test_support", | 106 "//services/shell/public/cpp:service_test_support", |
| 103 "//testing/gtest", | 107 "//testing/gtest", |
| 104 "//ui/gfx:test_support", | 108 "//ui/gfx:test_support", |
| 105 "//ui/gfx/geometry", | 109 "//ui/gfx/geometry", |
| 106 | 110 |
| 107 # TODO(dalecurtis): Required since the gmock header is included in the | 111 # TODO(dalecurtis): Required since the gmock header is included in the |
| 108 # header for pipeline_integration_test_base.h. This should be moved | 112 # header for pipeline_integration_test_base.h. This should be moved |
| 109 # into the .cc file to avoid the extra dependency here. | 113 # into the .cc file to avoid the extra dependency here. |
| 110 "//testing/gmock", | 114 "//testing/gmock", |
| 111 ] | 115 ] |
| 112 } | 116 } |
| 113 } | 117 } |
| 114 | 118 |
| 115 fuzzer_test("media_pipeline_integration_fuzzer") { | 119 fuzzer_test("media_pipeline_integration_fuzzer") { |
| 116 sources = [ | 120 sources = [ |
| 117 "pipeline_integration_fuzzertest.cc", | 121 "pipeline_integration_fuzzertest.cc", |
| 118 ] | 122 ] |
| 119 deps = [ | 123 deps = [ |
| 124 ":pipeline_integration_test_base", |
| 120 "//base", | 125 "//base", |
| 121 "//media", | 126 "//media", |
| 122 "//media/test:pipeline_integration_test_base", | |
| 123 | 127 |
| 124 # TODO(dalecurtis): Required since the gmock header is included in the | 128 # TODO(dalecurtis): Required since the gmock header is included in the |
| 125 # header for pipeline_integration_test_base.h. This should be | 129 # header for pipeline_integration_test_base.h. This should be |
| 126 # moved into the .cc file to avoid the extra dependency here. | 130 # moved into the .cc file to avoid the extra dependency here. |
| 127 "//testing/gmock", | 131 "//testing/gmock", |
| 128 "//ui/gfx:test_support", | 132 "//ui/gfx:test_support", |
| 129 ] | 133 ] |
| 130 | 134 |
| 131 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error. | 135 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error. |
| 132 libfuzzer_options = [ "runs=500000" ] | 136 libfuzzer_options = [ "runs=500000" ] |
| 133 } | 137 } |
| OLD | NEW |