blob: 5cd865529e5330db5c7ef200a79aeae52d2ccb2d [file] [log] [blame]
# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
declare_args() {
}
import("../third_party.gni")
third_party("libpng") {
public_include_dirs = [ "." ]
deps = [
"//third_party/zlib",
]
sources = [
"png.c",
"pngerror.c",
"pngget.c",
"pngmem.c",
"pngpread.c",
"pngread.c",
"pngrio.c",
"pngrtran.c",
"pngrutil.c",
"pngset.c",
"pngtrans.c",
"pngwio.c",
"pngwrite.c",
"pngwtran.c",
"pngwutil.c",
]
if (current_cpu == "arm" || current_cpu == "arm64") {
sources += [
"arm/arm_init.c",
"arm/filter_neon_intrinsics.c",
]
}
}