Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(715)

Side by Side Diff: media/test/BUILD.gn

Issue 1757603002: media: Add media pipeline fuzzer test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/test/pipeline_integration_fuzzertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | media/test/pipeline_integration_fuzzertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698