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
3 # found in the LICENSE file.
5 import("//media/media_options.gni")
7 source_set("pipeline_integration_test_base") {
10 if (media_use_ffmpeg) {
12 "pipeline_integration_test_base.cc",
13 "pipeline_integration_test_base.h",
19 "//media:test_support",
20 "//media/audio:test_support",
21 "//media/base:test_support",
28 source_set("pipeline_integration_tests") {
31 if (media_use_ffmpeg) {
33 "pipeline_integration_test.cc",
37 ":pipeline_integration_test_base",
40 "//media:test_support",
41 "//media/audio:test_support",
42 "//media/base:test_support",
45 # TODO(dalecurtis): Required since the gmock header is included in the
46 # header for pipeline_integration_test_base.h. This should be moved into
47 # the .cc file to avoid the extra dependency here.
53 source_set("pipeline_integration_perftests") {
56 if (media_use_ffmpeg) {
58 "pipeline_integration_perftest.cc",
62 ":pipeline_integration_test_base",
63 "//media/base:test_support",
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
69 # the .cc file to avoid the extra dependency here.
75 if (!is_component_build) {
76 source_set("mojo_pipeline_integration_tests") {
79 if (media_use_ffmpeg) {
81 "pipeline_integration_test.cc",
84 defines = [ "MOJO_RENDERER" ]
87 ":pipeline_integration_test_base",
89 "//base/test:test_support",
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",
99 "//mojo/application:test_support",
102 "//ui/gfx:test_support",
104 # TODO(dalecurtis): Required since the gmock header is included in the
105 # header for pipeline_integration_test_base.h. This should be moved into
106 # the .cc file to avoid the extra dependency here.