Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / media / test / BUILD.gn
blob1337e9e28aabc17330a06110d0a6bdc4aa0d3e92
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") {
8   testonly = true
10   if (media_use_ffmpeg) {
11     sources = [
12       "pipeline_integration_test_base.cc",
13       "pipeline_integration_test_base.h",
14     ]
16     deps = [
17       "//base",
18       "//media",
19       "//media:test_support",
20       "//media/audio:test_support",
21       "//media/base:test_support",
22       "//testing/gmock",
23       "//testing/gtest",
24     ]
25   }
28 source_set("pipeline_integration_tests") {
29   testonly = true
31   if (media_use_ffmpeg) {
32     sources = [
33       "pipeline_integration_test.cc",
34     ]
36     deps = [
37       ":pipeline_integration_test_base",
38       "//base",
39       "//media",
40       "//media:test_support",
41       "//media/audio:test_support",
42       "//media/base:test_support",
43       "//testing/gtest",
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.
48       "//testing/gmock",
49     ]
50   }
53 source_set("pipeline_integration_perftests") {
54   testonly = true
56   if (media_use_ffmpeg) {
57     sources = [
58       "pipeline_integration_perftest.cc",
59     ]
61     deps = [
62       ":pipeline_integration_test_base",
63       "//media/base:test_support",
64       "//testing/gtest",
65       "//testing/perf",
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.
70       "//testing/gmock",
71     ]
72   }
75 if (!is_component_build) {
76   source_set("mojo_pipeline_integration_tests") {
77     testonly = true
79     if (media_use_ffmpeg) {
80       sources = [
81         "pipeline_integration_test.cc",
82       ]
84       defines = [ "MOJO_RENDERER" ]
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",
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.
107         "//testing/gmock",
108       ]
109     }
110   }