diff --git a/external/fdk_aac.BUILD b/external/fdk_aac.BUILD index 9b093907..634aefb3 100644 --- a/external/fdk_aac.BUILD +++ b/external/fdk_aac.BUILD @@ -37,6 +37,8 @@ cc_library( "libFDK/include/*.h", ]) + select({ "@platforms//cpu:arm": ARM_HEADERS, + "@platforms//cpu:armv7": ARM_HEADERS, + "@platforms//cpu:arm64": ARM_HEADERS, "@platforms//cpu:x86_32": X86_HEADERS, "@platforms//cpu:x86_64": X86_HEADERS, }), @@ -233,6 +235,8 @@ cc_library( "libAACdec/include/*.h", ]) + select({ "@platforms//cpu:arm": ARM_HEADERS, + "@platforms//cpu:armv7": ARM_HEADERS, + "@platforms//cpu:arm64": ARM_HEADERS, "//conditions:default": [], }), copts = [