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

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

Issue 2426773005: media: Reorganize media unittests (Closed)
Patch Set: fix android Created 4 years, 2 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 | « media/base/run_all_unittests.cc ('k') | media/test/run_all_unittests.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 import("//testing/libfuzzer/fuzzer_test.gni")
7 7
8 source_set("run_all_unittests") {
9 testonly = true
10 sources = [
11 "run_all_unittests.cc",
12 ]
13
14 deps = [
15 "//base",
16 "//base/test:test_support",
17 "//media",
18 "//media/base:test_support",
19 ]
20
21 if (is_android) {
22 deps += [ "//ui/gl" ]
23 }
24 }
25
8 source_set("pipeline_integration_test_base") { 26 source_set("pipeline_integration_test_base") {
9 testonly = true 27 testonly = true
10 28
11 if (media_use_ffmpeg) { 29 if (media_use_ffmpeg) {
12 sources = [ 30 sources = [
13 "pipeline_integration_test_base.cc", 31 "pipeline_integration_test_base.cc",
14 "pipeline_integration_test_base.h", 32 "pipeline_integration_test_base.h",
15 ] 33 ]
16 34
17 public_deps = [ 35 public_deps = [
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 # TODO(dalecurtis): Required since the gmock header is included in the 146 # TODO(dalecurtis): Required since the gmock header is included in the
129 # header for pipeline_integration_test_base.h. This should be 147 # header for pipeline_integration_test_base.h. This should be
130 # moved into the .cc file to avoid the extra dependency here. 148 # moved into the .cc file to avoid the extra dependency here.
131 "//testing/gmock", 149 "//testing/gmock",
132 "//ui/gfx:test_support", 150 "//ui/gfx:test_support",
133 ] 151 ]
134 152
135 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error. 153 # This is done to avoid DEATH of ASan with "Thread limit exceeded" error.
136 libfuzzer_options = [ "runs=500000" ] 154 libfuzzer_options = [ "runs=500000" ]
137 } 155 }
OLDNEW
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698