goldfish-opengl: fix build breakage
There has been some refactoring on master and it does not
consider the fact this project is shared by old branches.
This CL checks for PLATFORM_VERSION_CODENAME.PPR1 and make
adjustment to get it work on both master and older branches
Once the O is finalized as api 26 we can remove the CODENAME
hack
Change-Id: Ia49e31ec1fa045a77f32bd7da708d0334efdd755
diff --git a/common.mk b/common.mk
index c776994..03cadc0 100644
--- a/common.mk
+++ b/common.mk
@@ -100,9 +100,12 @@
C_INCLUDES \
SHARED_LIBRARIES \
STATIC_LIBRARIES \
- HEADER_LIBRARIES \
ADDITIONAL_DEPENDENCIES
+ifeq ($(PLATFORM_VERSION_CODENAME.PPR1),P)
+EMUGL_EXPORT_TYPES += HEADER_LIBRARIES
+endif
+
# Initialize a module in our database
# $1: Module name
# $2: Module type