blob: 8bbde89793cdab1db4359526eea6d70360ddce9e (
plain) (
blame)
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
|
--- third_party/widevine/cdm/BUILD.gn.orig 2017-07-25 21:05:18.000000000 +0200
+++ third_party/widevine/cdm/BUILD.gn 2017-08-02 16:23:19.012976000 +0200
@@ -26,7 +26,7 @@
widevine_cdm_version_h_file =
"chromeos/$widevine_arch/widevine_cdm_version.h"
widevine_cdm_binary_files = [ "chromeos/$widevine_arch/libwidevinecdm.so" ]
- } else if (is_linux) {
+ } else if (is_linux || is_bsd) {
widevine_cdm_version_h_file = "linux/$widevine_arch/widevine_cdm_version.h"
widevine_cdm_binary_files = [ "linux/$widevine_arch/libwidevinecdm.so" ]
} else if (is_win) {
@@ -165,7 +165,7 @@
":widevinecdm",
]
- if (is_linux) {
+ if (is_linux || is_bsd) {
ldflags =
[ rebase_path("$root_out_dir/$widevine_cdm_path/libwidevinecdm.so",
root_build_dir) ]
@@ -188,7 +188,7 @@
# This target exists for tests to depend on that pulls in a runtime dependency
# on the license server.
source_set("widevine_test_license_server") {
- if (is_chrome_branded && is_linux) {
+ if (is_chrome_branded && (is_linux || is_bsd)) {
deps = [
# TODO(jrummell)
# This target should be removed and targets should have data_deps on this target:
|