Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: chromecast/media/BUILD.gn

Issue 1649933002: [Chromecast] Hook up mojo media pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed link error for enable_mojo_media=utility config Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//chromecast/chromecast.gni") 5 import("//chromecast/chromecast.gni")
6 import("//media/media_options.gni")
6 import("//testing/test.gni") 7 import("//testing/test.gni")
7 8
8 group("media") { 9 group("media") {
9 public_deps = [ 10 public_deps = [
10 "//chromecast/media/audio", 11 "//chromecast/media/audio",
11 "//chromecast/media/base", 12 "//chromecast/media/base",
12 "//chromecast/media/cdm", 13 "//chromecast/media/cdm",
13 "//chromecast/media/cma", 14 "//chromecast/media/cma",
14 ] 15 ]
16
17 if (enable_mojo_media == "browser") {
18 public_deps += [ "//chromecast/media/mojo" ]
19 }
15 } 20 }
16 21
17 test("cast_media_unittests") { 22 test("cast_media_unittests") {
18 sources = [ 23 sources = [
19 "audio/cast_audio_output_stream_unittest.cc", 24 "audio/cast_audio_output_stream_unittest.cc",
20 "cma/backend/audio_video_pipeline_device_unittest.cc", 25 "cma/backend/audio_video_pipeline_device_unittest.cc",
21 "cma/base/balanced_media_task_runner_unittest.cc", 26 "cma/base/balanced_media_task_runner_unittest.cc",
22 "cma/base/buffering_controller_unittest.cc", 27 "cma/base/buffering_controller_unittest.cc",
23 "cma/base/buffering_frame_provider_unittest.cc", 28 "cma/base/buffering_frame_provider_unittest.cc",
24 "cma/ipc/media_message_fifo_unittest.cc", 29 "cma/ipc/media_message_fifo_unittest.cc",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 "//testing/gtest", 62 "//testing/gtest",
58 "//ui/gfx/geometry", 63 "//ui/gfx/geometry",
59 ] 64 ]
60 65
61 if (chromecast_branding == "public") { 66 if (chromecast_branding == "public") {
62 # Link default libcast_media_1.0 statically not to link dummy one 67 # Link default libcast_media_1.0 statically not to link dummy one
63 # dynamically for public unittests. 68 # dynamically for public unittests.
64 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ] 69 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ]
65 } 70 }
66 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698