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

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

Issue 2577743002: [chromecast] Deletes libcast_media_1.0_default_core. (Closed)
Patch Set: rebase + simplify libcast_media target Created 4 years 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
« no previous file with comments | « chromecast/BUILD.gn ('k') | chromecast/media/base/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 group("media") { 8 group("media") {
9 public_deps = [ 9 public_deps = [
10 "//chromecast/media/audio", 10 "//chromecast/media/audio",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "//chromecast/media/cma/pipeline", 55 "//chromecast/media/cma/pipeline",
56 "//chromecast/public", 56 "//chromecast/public",
57 "//media", 57 "//media",
58 "//media/base:test_support", 58 "//media/base:test_support",
59 "//testing/gmock", 59 "//testing/gmock",
60 "//testing/gtest", 60 "//testing/gtest",
61 "//ui/display", 61 "//ui/display",
62 "//ui/gfx/geometry", 62 "//ui/gfx/geometry",
63 ] 63 ]
64 64
65 if (chromecast_branding == "public") { 65 # MultizoneBackendTest verifies rendering delay reported by the backend.
66 # Link default libcast_media_1.0 statically not to link dummy one 66 # Since rendering delay is optional on video platforms, enable this test
67 # dynamically for public unittests. 67 # on audio devices only.
68 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ] 68 if (is_cast_audio_only) {
69 sources += [ "cma/backend/multizone_backend_unittest.cc" ]
69 } 70 }
70 } 71 }
71
72 test("cast_multizone_backend_unittests") {
73 sources = [
74 "cma/backend/multizone_backend_unittest.cc",
75 "cma/test/run_all_unittests.cc",
76 ]
77
78 deps = [
79 "//base",
80 "//base/test:test_support",
81 "//chromecast/base",
82 "//chromecast/base/metrics:test_support",
83 "//chromecast/media/base:libcast_media_1.0",
84 "//chromecast/media/cma/backend",
85 "//chromecast/media/cma/base",
86 "//chromecast/public",
87 "//media",
88 "//media/base:test_support",
89 "//testing/gmock",
90 "//testing/gtest",
91 ]
92
93 if (chromecast_branding == "public") {
94 # Link default libcast_media_1.0 statically not to link dummy one
95 # dynamically for public unittests.
96 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ]
97 }
98 }
OLDNEW
« no previous file with comments | « chromecast/BUILD.gn ('k') | chromecast/media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698