Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chromecast / media / BUILD.gn
blob249823ac0cf642cb4fabccffcbf893fae41fe7f6
1 # Copyright 2015 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("//testing/test.gni")
7 group("media") {
8   deps = [
9     "//chromecast/media/base",
10     "//chromecast/media/cdm",
11     "//chromecast/media/cma",
12   ]
15 test("cast_media_unittests") {
16   sources = [
17     "cma/backend/audio_video_pipeline_device_unittest.cc",
18     "cma/base/balanced_media_task_runner_unittest.cc",
19     "cma/base/buffering_controller_unittest.cc",
20     "cma/base/buffering_frame_provider_unittest.cc",
21     "cma/filters/demuxer_stream_adapter_unittest.cc",
22     "cma/filters/multi_demuxer_stream_adapter_unittest.cc",
23     "cma/ipc/media_message_fifo_unittest.cc",
24     "cma/ipc/media_message_unittest.cc",
25     "cma/ipc_streamer/av_streamer_unittest.cc",
26     "cma/pipeline/audio_video_pipeline_impl_unittest.cc",
27     "cma/test/demuxer_stream_for_test.cc",
28     "cma/test/demuxer_stream_for_test.h",
29     "cma/test/frame_generator_for_test.cc",
30     "cma/test/frame_generator_for_test.h",
31     "cma/test/frame_segmenter_for_test.cc",
32     "cma/test/frame_segmenter_for_test.h",
33     "cma/test/media_component_device_feeder_for_test.cc",
34     "cma/test/media_component_device_feeder_for_test.h",
35     "cma/test/mock_frame_consumer.cc",
36     "cma/test/mock_frame_consumer.h",
37     "cma/test/mock_frame_provider.cc",
38     "cma/test/mock_frame_provider.h",
39     "cma/test/run_all_unittests.cc",
40   ]
42   configs += [ "//chromecast:config" ]
44   deps = [
45     ":media",
46     "//base",
47     "//base:i18n",
48     "//base/test:test_support",
49     "//chromecast/base",
50     "//chromecast/base/metrics:test_support",
51     "//chromecast/public",
52     "//media",
53     "//media/base:test_support",
54     "//testing/gmock",
55     "//testing/gtest",
56     "//ui/gfx/geometry",
57   ]
60 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete.
61 # See: b/21639416
62 shared_library("libffmpegsumo") {
63   output_name = "libffmpegsumo"