Merge "[trusty] Add teeui to library build system" am: 7e685b031d

Original change: https://android-review.googlesource.com/c/platform/external/freetype/+/1535351

Change-Id: I6fb2ef458add8326082477f4e5ae9797b8c049e7
diff --git a/devel-teeui/rules.mk b/devel-teeui/rules.mk
index 864a286..b834ce7 100644
--- a/devel-teeui/rules.mk
+++ b/devel-teeui/rules.mk
@@ -19,14 +19,14 @@
 	$(FREETYPE_ROOT)/src/autofit/autofit.c \
 	$(FREETYPE_ROOT)/src/gzip/ftgzip.c \
 
-GLOBAL_INCLUDES += \
+MODULE_EXPORT_INCLUDES += \
 	$(LOCAL_DIR) \
 	$(FREETYPE_ROOT)/include \
 
 MODULE_COMPILEFLAGS := -U__ANDROID__ -DFT2_BUILD_LIBRARY
 MODULE_COMPILEFLAGS += -Wno-implicit-fallthrough
 
-MODULE_DEPS += \
+MODULE_LIBRARY_DEPS += \
 	trusty/user/base/lib/libc-trusty \
 
-include make/module.mk
+include make/library.mk