chromium-browser-stable-test/chromium-53-ffmpeg-no-deprecation-errors.patch
Andrey Bondrov 7cb21224c7 New version 54.0.2840.100
Switch to GN to build
2016-11-17 23:12:20 +10:00

22 lines
581 B
Diff

--- chromium-53.0.2785.46/build/linux/unbundle/ffmpeg.gn.ffmpeg-deprecation 2016-08-05 00:05:10.000000000 +0200
+++ chromium-53.0.2785.46/build/linux/unbundle/ffmpeg.gn 2016-08-09 21:22:45.143683293 +0200
@@ -13,6 +13,12 @@
]
}
+config("ffmpeg_deprecations") {
+ if (is_linux) {
+ cflags = [ "-Wno-error=deprecated-declarations" ]
+ }
+}
+
shim_headers("ffmpeg_shim") {
root_path = "."
headers = [
@@ -26,5 +32,5 @@
deps = [
":ffmpeg_shim",
]
- public_configs = [ ":system_ffmpeg" ]
+ public_configs = [ ":system_ffmpeg", ":ffmpeg_deprecations" ]
}