Skip to content

Commit

Permalink
Add proprietary_codecs.gn (#4450)
Browse files Browse the repository at this point in the history
b/377271824
  • Loading branch information
niranjanyardi authored Nov 19, 2024
1 parent 9db5712 commit 7bb8252
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cobalt/build/configs/android-arm/args.gn
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import("//cobalt/build/configs/proprietary_codecs.gn")

target_os = "android"
target_cpu = "arm"

Expand Down
2 changes: 2 additions & 0 deletions cobalt/build/configs/android-arm64/args.gn
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import("//cobalt/build/configs/proprietary_codecs.gn")

target_os = "android"
target_cpu = "arm64"

Expand Down
2 changes: 2 additions & 0 deletions cobalt/build/configs/android-x86/args.gn
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import("//cobalt/build/configs/proprietary_codecs.gn")

target_os = "android"
target_cpu = "x86"

Expand Down
2 changes: 2 additions & 0 deletions cobalt/build/configs/linux-x64x11/args.gn
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import("//cobalt/build/configs/proprietary_codecs.gn")

target_os = "linux"
target_cpu = "x64"

Expand Down
8 changes: 8 additions & 0 deletions cobalt/build/configs/proprietary_codecs.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Build flag declared originally in build/config/features.gni
# This flag is overridden to enable common video codecs playbacks.
proprietary_codecs = true

# This flag is needed by both platforms - android and linux.
# For android: android_webview/docs/aosp-system-integration.md
# For linux: docs/linux/hw_video_decode.md
ffmpeg_branding = "Chrome"

0 comments on commit 7bb8252

Please sign in to comment.