22 lines
799 B
Diff
22 lines
799 B
Diff
diff --git third_party/widevine/cdm/BUILD.gn third_party/widevine/cdm/BUILD.gn
|
|
index a3eac59cc2eb..d14e71e0319b 100644
|
|
--- third_party/widevine/cdm/BUILD.gn
|
|
+++ third_party/widevine/cdm/BUILD.gn
|
|
@@ -111,14 +111,8 @@ if (widevine_cdm_binary_files != []) {
|
|
]
|
|
|
|
if (is_mac) {
|
|
- ldflags = [
|
|
- # Not to strip important symbols by -Wl,-dead_strip.
|
|
- "-Wl,-exported_symbol,_PPP_GetInterface",
|
|
- "-Wl,-exported_symbol,_PPP_InitializeModule",
|
|
- "-Wl,-exported_symbol,_PPP_ShutdownModule",
|
|
- ]
|
|
- #TODO(jrummell) Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
|
|
- } else if (is_posix && !is_mac) {
|
|
+ ldflags = [ "-Wl,-install_name,@loader_path/libwidevinecdm.dylib" ]
|
|
+ } else if (is_posix) {
|
|
cflags = [ "-fvisibility=hidden" ]
|
|
}
|
|
}
|