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",
47 # TODO(dalecurtis): Required since the gmock header is included in the
48 # header for pipeline_integration_test_base.h. This should be moved into
49 # the .cc file to avoid the extra dependency here.
55 source_set("pipeline_integration_perftests") {
58 if (media_use_ffmpeg) {
60 "pipeline_integration_perftest.cc",
64 ":pipeline_integration_test_base",
65 "//media/base:test_support",
69 # TODO(dalecurtis): Required since the gmock header is included in the
70 # header for pipeline_integration_test_base.h. This should be moved into
71 # the .cc file to avoid the extra dependency here.
77 if (!is_component_build) {
78 source_set("mojo_pipeline_integration_tests") {
81 if (media_use_ffmpeg) {
83 "pipeline_integration_test.cc",
86 defines = [ "MOJO_RENDERER" ]
88 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
91 ":pipeline_integration_test_base",
93 "//base/test:test_support",
95 "//media:test_support",
96 "//media/audio:test_support",
97 "//media/base:test_support",
98 "//media/mojo/interfaces",
99 "//media/mojo/services:media",
100 "//media/mojo/services:renderer_proxy",
101 "//media/mojo/services:renderer_service",
102 "//mojo/application",
103 "//mojo/application:test_support",
106 "//ui/gfx:test_support",
108 # TODO(dalecurtis): Required since the gmock header is included in the
109 # header for pipeline_integration_test_base.h. This should be moved into
110 # the .cc file to avoid the extra dependency here.