Derek Sollenberger a3ef09430f Use public APIs for decoding images for screencap
HWUI is restricting access to only a set of stable C APIs. Callers like
boot animation are being converted to either the stable C or NDK APIs.

Test: build and verify screencap cmd line for launcher
Bug: 150782769
Change-Id: I87e1752409ccfeef22a082c389902b0883ad2bee
2020-04-09 13:34:14 +00:00

22 lines
325 B
Plaintext

cc_binary {
name: "screencap",
srcs: ["screencap.cpp"],
shared_libs: [
"libcutils",
"libutils",
"libbinder",
"libjnigraphics",
"libui",
"libgui",
],
cflags: [
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
}