Index: build/linux/unbundle/ffmpeg.gn |
diff --git a/build/linux/unbundle/ffmpeg.gn b/build/linux/unbundle/ffmpeg.gn |
index 9a4fbfd75a40957c3430f0d8c9e8d006892372c1..f4f0e2634997766fc0b9c238836d7cbf56fa5b30 100644 |
--- a/build/linux/unbundle/ffmpeg.gn |
+++ b/build/linux/unbundle/ffmpeg.gn |
@@ -13,6 +13,10 @@ pkg_config("system_ffmpeg") { |
] |
} |
+config("using_system_ffmpeg") { |
+ defines = [ "USE_SYSTEM_FFMPEG=1" ] |
+} |
+ |
shim_headers("ffmpeg_shim") { |
root_path = "." |
headers = [ |
@@ -26,5 +30,8 @@ source_set("ffmpeg") { |
deps = [ |
":ffmpeg_shim", |
] |
- public_configs = [ ":system_ffmpeg" ] |
+ public_configs = [ |
+ ":system_ffmpeg", |
+ ":using_system_ffmpeg", |
+ ] |
} |