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

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: Fix component build. Created 5 years, 11 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/mojo/services/media_renderer_apptest.cc ('k') | media/test/DEPS » ('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 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 if (!is_component_build) {
76 source_set("mojo_pipeline_integration_tests") {
77 testonly = true
78
79 if (media_use_ffmpeg) {
80 sources = [
81 "pipeline_integration_test.cc",
82 ]
83
84 defines = [ "MOJO_RENDERER" ]
85
86 deps = [
87 ":pipeline_integration_test_base",
88 "//base",
89 "//base/test:test_support",
90 "//media",
91 "//media:test_support",
92 "//media/audio:test_support",
93 "//media/base:test_support",
94 "//media/mojo/interfaces",
95 "//media/mojo/services:media",
96 "//media/mojo/services:renderer_proxy",
97 "//media/mojo/services:renderer_service",
98 "//mojo/application",
99 "//mojo/application:test_support",
100 "//testing/gtest",
101 "//ui/gfx/geometry",
102 "//ui/gfx:test_support",
103
104 # TODO(dalecurtis): Required since the gmock header is included in the
105 # header for pipeline_integration_test_base.h. This should be moved int o
106 # the .cc file to avoid the extra dependency here.
107 "//testing/gmock",
108 ]
109 }
110 }
111 }
OLDNEW
« no previous file with comments | « media/mojo/services/media_renderer_apptest.cc ('k') | media/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698