Skip to content

Commit

Permalink
Add Windows utf8_io sources for Flac builds
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 668043223
  • Loading branch information
trevorknight authored and felicialim committed Aug 27, 2024
1 parent 91b2df3 commit 6707b92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion external/flac.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ flac_version_dir = "src"

exports_files(["LICENSE"])

platform_srcs = select({
"//tools/cc_target_os:windows": glob(["src/share/win_utf8_io/*.c"]),
"//conditions:default": glob([]),
})

flac_srcs = glob(
[
# keep sorted
Expand All @@ -21,7 +26,7 @@ flac_srcs = glob(
"src/libFLAC/deduplication/**/*.c",
"src/libFLAC/ogg*",
],
)
) + platform_srcs

flac_textual_includes = glob([
# keep sorted
Expand Down

0 comments on commit 6707b92

Please sign in to comment.