Commit 01cfefef by Geoff Lang Committed by Commit Bot

Fix building libpng on arm CPUs.

Some arm-specific files were not part of the build. BUG=angleproject:4026 Change-Id: Ie3534c66ebce53348a00f74b95b7f6e3859ee30f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1866079Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 05bd1896
...@@ -24,6 +24,13 @@ static_library("libpng") { ...@@ -24,6 +24,13 @@ static_library("libpng") {
"src/pngwtran.c", "src/pngwtran.c",
"src/pngwutil.c", "src/pngwutil.c",
] ]
if (target_cpu == "arm") {
sources += [
"src/arm/arm_init.c",
"src/arm/filter_neon.S",
"src/arm/filter_neon_intrinsics.c",
]
}
if (is_win) { if (is_win) {
cflags = [ "/wd4028" ] cflags = [ "/wd4028" ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment