| 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 | 7 |
| 7 source_set("pipeline_integration_test_base") { | 8 source_set("pipeline_integration_test_base") { |
| 8 testonly = true | 9 testonly = true |
| 9 | 10 |
| 10 # Even if FFmpeg is enabled on Android we don't want these. | 11 # Even if FFmpeg is enabled on Android we don't want these. |
| 11 # TODO(watk): Refactor tests that could be made to run on Android. See | 12 # TODO(watk): Refactor tests that could be made to run on Android. See |
| 12 # http://crbug.com/570762 | 13 # http://crbug.com/570762 |
| 13 if (media_use_ffmpeg && !is_android) { | 14 if (media_use_ffmpeg && !is_android) { |
| 14 sources = [ | 15 sources = [ |
| 15 "pipeline_integration_test_base.cc", | 16 "pipeline_integration_test_base.cc", |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 "//ui/gfx:test_support", | 107 "//ui/gfx:test_support", |
| 107 "//ui/gfx/geometry", | 108 "//ui/gfx/geometry", |
| 108 | 109 |
| 109 # TODO(dalecurtis): Required since the gmock header is included in the | 110 # TODO(dalecurtis): Required since the gmock header is included in the |
| 110 # header for pipeline_integration_test_base.h. This should be moved | 111 # header for pipeline_integration_test_base.h. This should be moved |
| 111 # into the .cc file to avoid the extra dependency here. | 112 # into the .cc file to avoid the extra dependency here. |
| 112 "//testing/gmock", | 113 "//testing/gmock", |
| 113 ] | 114 ] |
| 114 } | 115 } |
| 115 } | 116 } |
| 117 |
| 118 fuzzer_test("pipeline_integration_fuzzertest") { |
| 119 sources = [ |
| 120 "pipeline_integration_fuzzertest.cc", |
| 121 ] |
| 122 deps = [ |
| 123 "//base", |
| 124 "//media", |
| 125 "//media/test:pipeline_integration_test_base", |
| 126 |
| 127 # TODO(dalecurtis): Required since the gmock header is included in the |
| 128 # header for pipeline_integration_test_base.h. This should be |
| 129 # moved into the .cc file to avoid the extra dependency here. |
| 130 "//testing/gmock", |
| 131 "//ui/gfx:test_support", |
| 132 ] |
| 133 } |
| OLD | NEW |