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",
36 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
39 ":pipeline_integration_test_base",
42 "//media:test_support",
43 "//media/audio:test_support",
44 "//media/base:test_support",
48 # TODO(dalecurtis): Required since the gmock header is included in the
49 # header for pipeline_integration_test_base.h. This should be moved into
50 # the .cc file to avoid the extra dependency here.
56 source_set("pipeline_integration_perftests") {
59 if (media_use_ffmpeg) {
61 "pipeline_integration_perftest.cc",
65 ":pipeline_integration_test_base",
66 "//media/base:test_support",
70 # TODO(dalecurtis): Required since the gmock header is included in the
71 # header for pipeline_integration_test_base.h. This should be moved into
72 # the .cc file to avoid the extra dependency here.
78 if (!is_component_build) {
79 source_set("mojo_pipeline_integration_tests") {
82 if (media_use_ffmpeg) {
84 "pipeline_integration_test.cc",
87 defines = [ "MOJO_RENDERER" ]
89 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
92 ":pipeline_integration_test_base",
94 "//base/test:test_support",
96 "//media:test_support",
97 "//media/audio:test_support",
98 "//media/base:test_support",
99 "//media/mojo/interfaces",
100 "//media/mojo/services:proxy",
101 "//media/mojo/services:renderer_service",
102 "//mojo/application/public/cpp:test_support",
105 "//ui/gfx:test_support",
107 # TODO(dalecurtis): Required since the gmock header is included in the
108 # header for pipeline_integration_test_base.h. This should be moved
109 # into the .cc file to avoid the extra dependency here.