1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/crypto.gni")
import("//chromecast/chromecast.gni")
declare_args() {
libcast_media_target = ""
}
source_set("base") {
sources = [
"decrypt_context_impl.cc",
"decrypt_context_impl.h",
"decrypt_context_impl_clearkey.cc",
"decrypt_context_impl_clearkey.h",
"key_systems_common.cc",
"key_systems_common.h",
"media_caps.cc",
"media_caps.h",
"media_codec_support.cc",
"media_codec_support.h",
"media_message_loop.cc",
"media_message_loop.h",
"switching_media_renderer.cc",
"switching_media_renderer.h",
]
public_deps = [
"//chromecast/public/media",
]
configs += [ "//chromecast:config" ]
deps = [
":libcast_media_default",
"//base",
"//chromecast/public",
"//crypto",
"//crypto:platform",
"//media",
"//net",
"//third_party/widevine/cdm:version_h",
]
if (chromecast_branding == "public") {
sources += [ "key_systems_common_simple.cc" ]
}
}
shared_library("libcast_media_default") {
output_name = "libcast_media_1.0"
sources = [
"cast_media_default.cc",
]
configs += [ "//chromecast:config" ]
deps = [
"//build/config/sanitizers:deps",
"//chromecast/media/cma/backend",
"//chromecast/public",
"//chromecast/public/media",
]
}
|