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

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

Issue 2577743002: [chromecast] Deletes libcast_media_1.0_default_core. (Closed)
Patch Set: moves backend files to cma/backend 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
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 6
7 source_set("key_systems") { 7 source_set("key_systems") {
8 sources = [ 8 sources = [
9 "key_systems_common.cc", 9 "key_systems_common.cc",
10 "key_systems_common.h", 10 "key_systems_common.h",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 ] 51 ]
52 52
53 deps = [ 53 deps = [
54 "//base", 54 "//base",
55 "//chromecast/base", 55 "//chromecast/base",
56 "//crypto", 56 "//crypto",
57 "//crypto:platform", 57 "//crypto:platform",
58 "//media", 58 "//media",
59 "//ui/gfx/geometry", 59 "//ui/gfx/geometry",
60 ] 60 ]
61
62 if (is_android) {
63 deps += [ ":libcast_media_1.0_android" ]
64 } else {
65 deps += [ ":libcast_media_1.0" ]
66 }
67 } 61 }
68
69 # Target for OEM partners to override media shared library, i.e.
70 # libcast_media_1.0.so. This target is only used to build executables
71 # with correct linkage information.
72 shared_library("libcast_media_1.0") {
73 sources = [
74 "cast_media_dummy.cc",
75 ]
76
77 public_deps = [
78 "//chromecast/public",
79 ]
80 }
81
82 # Target for Android implementation of libcast_media_1.0.
83 shared_library("libcast_media_1.0_android") {
84 sources = [
85 "cast_media_android.cc",
86 ]
87
88 deps = [
89 "//base",
90 ]
91
92 public_deps = [
93 "//chromecast/public",
94 ]
95 }
96
97 # This target can be statically linked into unittests, but production
98 # binaries should not depend on this target.
99 source_set("libcast_media_1.0_default_core") {
100 sources = [
101 "cast_media_default.cc",
102 ]
103
104 public_deps = [
105 "//chromecast/public",
106 "//chromecast/public/media",
107 ]
108
109 deps = [
110 "//base",
111 "//build/config/sanitizers:deps",
112 "//chromecast/base",
113 "//chromecast/media/cma/backend",
114 ]
115 }
116
117 # Default implementation of libcast_media_1.0.so.
118 # TODO(slan): Make this target a loadable_module (crbug/380327)
119 shared_library("libcast_media_1.0_default") {
120 # Note that it cannot depend on libcast_media_1.0_default_core since a
121 # loadable_module include only symbols necessary for source files.
122 # So, it should include top-level .cc, here cast_media_default.cc explicitly.
123 sources = [
124 "cast_media_default.cc",
125 ]
126
127 public_deps = [
128 "//chromecast/public",
129 "//chromecast/public/media",
130 ]
131
132 deps = [
133 "//base",
134 "//build/config/sanitizers:deps",
135 "//chromecast/base",
136 "//chromecast/media/cma/backend",
137 ]
138 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698