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

Side by Side Diff: chromecast/media/cma/backend/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/media/base/cast_media_dummy.cc ('k') | chromecast/media/cma/backend/alsa/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("//build/config/chromecast_build.gni")
6
5 source_set("backend") { 7 source_set("backend") {
6 sources = [ 8 sources = [
7 "audio_decoder_default.cc",
8 "audio_decoder_default.h",
9 "audio_decoder_wrapper.cc", 9 "audio_decoder_wrapper.cc",
10 "audio_decoder_wrapper.h", 10 "audio_decoder_wrapper.h",
11 "media_pipeline_backend_default.cc",
12 "media_pipeline_backend_default.h",
13 "media_pipeline_backend_manager.cc", 11 "media_pipeline_backend_manager.cc",
14 "media_pipeline_backend_manager.h", 12 "media_pipeline_backend_manager.h",
15 "media_pipeline_backend_wrapper.cc", 13 "media_pipeline_backend_wrapper.cc",
16 "media_pipeline_backend_wrapper.h", 14 "media_pipeline_backend_wrapper.h",
17 "video_decoder_default.cc",
18 "video_decoder_default.h",
19 ] 15 ]
20 16
21 public_deps = [ 17 public_deps = [
22 "//chromecast/public", 18 "//chromecast/public",
23 "//chromecast/public/media", 19 "//chromecast/public/media",
24 ] 20 ]
25 21
26 deps = [ 22 deps = [
27 "//base", 23 "//base",
28 "//chromecast:chromecast_features", 24 "//chromecast:chromecast_features",
29 ] 25 ]
26
27 if (is_android) {
28 sources += [ "cast_media_android.cc" ]
29 } else {
30 deps += [ ":libcast_media_1.0" ]
31 }
30 } 32 }
33
34 # Target for OEM partners to override media shared library, i.e.
35 # libcast_media_1.0.so. This target is only used to build executables
36 # with correct linkage information.
37 shared_library("libcast_media_1.0") {
38 if (is_cast_desktop_build) {
39 deps = [
40 ":default",
41 ]
42 } else {
43 deps = [
44 ":dummy",
45 ]
46 }
47 }
48
49 # Default implementation of media backend used on desktop.
50 source_set("default") {
51 sources = [
52 "audio_decoder_default.cc",
53 "audio_decoder_default.h",
54 "cast_media_default.cc",
55 "media_pipeline_backend_default.cc",
56 "media_pipeline_backend_default.h",
57 "video_decoder_default.cc",
58 "video_decoder_default.h",
59 ]
60
61 deps = [
62 "//base",
63 "//chromecast/base",
64 "//chromecast/public/media",
65 ]
66 }
67
68 # Dummy implementation of media backend used on chromecast devices.
69 # Must not depend on anything outside //chromecast/public.
70 source_set("dummy") {
71 sources = [
72 "cast_media_dummy.cc",
73 ]
74
75 deps = [
76 "//chromecast/public",
77 ]
78 }
OLDNEW
« no previous file with comments | « chromecast/media/base/cast_media_dummy.cc ('k') | chromecast/media/cma/backend/alsa/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698