Skip to content

Commit

Permalink
Add Compile Support For MacOs / ARM
Browse files Browse the repository at this point in the history
Added missing includes, headers and src files in order to allow compilation on MacOs. Note that in order to complete the compile expat_config.h is also needed.
  • Loading branch information
Branden22 committed Apr 29, 2024
1 parent ada61aa commit 69589cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions external/fdk_aac.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ cc_library(
hdrs = glob([
"libFDK/include/*.h",
"libFDK/include/x86/*.h",
"libFDK/include/arm/*.h",
"libFDK/src/arm/*.cpp"
]),
includes = [
"libFDK/include",
"libSYS/include",
"libFDK/src",
],
deps = [
":fdk_sys_lib",
Expand Down Expand Up @@ -220,6 +223,7 @@ cc_library(
]),
hdrs = glob([
"libAACdec/include/*.h",
"libAACdec/src/arm/*.cpp"
]),
copts = [
"-Wno-implicit-fallthrough",
Expand All @@ -235,6 +239,7 @@ cc_library(
"libSACdec/include",
"libSACenc/include",
"libSBRdec/include",
"libAACdec/src",
],
deps = [
":arith_coding_lib",
Expand Down

0 comments on commit 69589cb

Please sign in to comment.