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

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

Issue 806443002: Enable PipelineIntegrationTests in mojo! (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. All pass! Created 6 years 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
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 6
7 source_set("pipeline_integration_test_base") { 7 source_set("pipeline_integration_test_base") {
8 testonly = true 8 testonly = true
9 9
10 if (media_use_ffmpeg) { 10 if (media_use_ffmpeg) {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "//testing/gtest", 64 "//testing/gtest",
65 "//testing/perf", 65 "//testing/perf",
66 66
67 # TODO(dalecurtis): Required since the gmock header is included in the 67 # TODO(dalecurtis): Required since the gmock header is included in the
68 # header for pipeline_integration_test_base.h. This should be moved into 68 # header for pipeline_integration_test_base.h. This should be moved into
69 # the .cc file to avoid the extra dependency here. 69 # the .cc file to avoid the extra dependency here.
70 "//testing/gmock", 70 "//testing/gmock",
71 ] 71 ]
72 } 72 }
73 } 73 }
74
75 source_set("mojo_pipeline_integration_tests") {
76 testonly = true
77
78 if (media_use_ffmpeg) {
79 sources = [
80 "pipeline_integration_test.cc",
81 ]
82
83 defines = [ "MOJO_RENDERER" ]
84
85 deps = [
86 ":pipeline_integration_test_base",
87 "//base",
88 "//base/test:test_support",
89 "//media",
90 "//media:test_support",
91 "//media/audio:test_support",
92 "//media/base:test_support",
93 "//media/mojo/interfaces",
94 "//media/mojo/services:media",
95 "//media/mojo/services:renderer_proxy",
96 "//media/mojo/services:renderer_service",
97 "//mojo/application",
98 "//mojo/application:test_support",
99 "//testing/gtest",
100 "//ui/gfx/geometry",
101 "//ui/gfx:test_support",
102
103 # TODO(dalecurtis): Required since the gmock header is included in the
104 # header for pipeline_integration_test_base.h. This should be moved into
105 # the .cc file to avoid the extra dependency here.
106 "//testing/gmock",
107 ]
108 }
109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698