OLD | NEW |
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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//chromecast/chromecast.gni") | 6 import("//chromecast/chromecast.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 libcast_media_target = "" | 9 libcast_media_target = "" |
10 } | 10 } |
11 | 11 |
| 12 # TODO(slan): See if the dependency on //media can be broken. |
12 source_set("base") { | 13 source_set("base") { |
13 sources = [ | 14 sources = [ |
14 "decrypt_context_impl.cc", | 15 "decrypt_context_impl.cc", |
15 "decrypt_context_impl.h", | 16 "decrypt_context_impl.h", |
16 "decrypt_context_impl_clearkey.cc", | 17 "decrypt_context_impl_clearkey.cc", |
17 "decrypt_context_impl_clearkey.h", | 18 "decrypt_context_impl_clearkey.h", |
18 "key_systems_common.cc", | 19 "key_systems_common.cc", |
19 "key_systems_common.h", | 20 "key_systems_common.h", |
20 "media_caps.cc", | 21 "media_caps.cc", |
21 "media_caps.h", | 22 "media_caps.h", |
(...skipping 29 matching lines...) Expand all Loading... |
51 | 52 |
52 shared_library("libcast_media_default") { | 53 shared_library("libcast_media_default") { |
53 output_name = "libcast_media_1.0" | 54 output_name = "libcast_media_1.0" |
54 | 55 |
55 sources = [ | 56 sources = [ |
56 "cast_media_default.cc", | 57 "cast_media_default.cc", |
57 ] | 58 ] |
58 | 59 |
59 configs += [ "//chromecast:config" ] | 60 configs += [ "//chromecast:config" ] |
60 | 61 |
| 62 public_deps = [ |
| 63 "//chromecast/public", |
| 64 "//chromecast/public/media", |
| 65 ] |
| 66 |
61 deps = [ | 67 deps = [ |
62 "//build/config/sanitizers:deps", | 68 "//build/config/sanitizers:deps", |
63 "//chromecast/media/cma/backend", | 69 "//chromecast/media/cma/backend", |
64 "//chromecast/public", | |
65 "//chromecast/public/media", | |
66 ] | 70 ] |
67 } | 71 } |
OLD | NEW |