Skip to content

Commit

Permalink
Disable unavailable warning suppression for Windows
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 667950970
  • Loading branch information
trevorknight authored and felicialim committed Aug 27, 2024
1 parent 1a02a20 commit 5324f28
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions external/fdk_aac.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,14 @@ cc_library(
hdrs = glob([
"libMpegTPDec/include/*.h",
]),
copts = [
copts = select({
"//tools/cc_target_os:windows": [],
"//conditions:default": [
"-Wno-implicit-fallthrough",
"-Wno-unused-label",
"-Wno-unused-variable",
],
}),
includes = [
"libFDK/include",
"libMpegTPDec/include",
Expand Down Expand Up @@ -198,11 +201,13 @@ cc_library(
"libPCMutils/src/*.h",
"libPCMutils/include/*.h",
]),
copts = [
copts = select({
"//tools/cc_target_os:windows": [],
"//conditions:default": [
"-Wno-implicit-fallthrough",
"-Wno-unused-label",
"-Wno-unused-variable",
],
]}),
includes = [
"libFDK/include",
"libPCMutils/include",
Expand Down Expand Up @@ -252,10 +257,12 @@ cc_library(
"@platforms//cpu:arm64": ARM_LIB_AAC_DEC_HEADERS,
"//conditions:default": [],
}),
copts = [
copts = select({
"//tools/cc_target_os:windows": [],
"//conditions:default": [
"-Wno-implicit-fallthrough",
"-Wno-unused-variable",
],
]}),
includes = [
"libAACdec/include",
"libArithCoding/include",
Expand Down

0 comments on commit 5324f28

Please sign in to comment.