From 0c88b846813585c20e796a3848efd118ac96ee48 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Sun, 15 Jan 2017 16:00:49 -0600 Subject: Fill uid/gid for screenshots at compile time It's not necessary to rely on the success of a call to getpwnam() for the uid/gid of a file stored to sdcard (or external storage). Use the definitions in system/core/include/private/android_filesystem_config.h Change-Id: I979cfa0c74ecc927b88b0967cc56a66da237cc60 --- gui/Android.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gui/Android.mk') diff --git a/gui/Android.mk b/gui/Android.mk index 17defd953..51cf4ca05 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -74,7 +74,11 @@ ifeq ($(TW_ROUND_SCREEN), true) LOCAL_CFLAGS += -DTW_ROUND_SCREEN endif -LOCAL_C_INCLUDES += bionic system/core/libpixelflinger/include +LOCAL_C_INCLUDES += \ + bionic \ + system/core/include \ + system/core/libpixelflinger/include + ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) LOCAL_C_INCLUDES += external/stlport/stlport endif -- cgit v1.2.3