Remove chrome://apps from chrome-urls on ChromeOS.
[chromium-blink-merge.git] / chromecast / media / BUILD.gn
blob1a1799db5d0b4ea9bd2a2324ee2c14ca49f033cb
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/metrics:test_support",
50     "//chromecast/public",
51     "//media",
52     "//media/base:test_support",
53     "//testing/gmock",
54     "//testing/gtest",
55     "//ui/gfx/geometry",
56   ]
59 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete.
60 # See: b/21639416
61 shared_library("libffmpegsumo") {
62   output_name = "libffmpegsumo"