aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/egl/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/egl/Android.mk b/system/egl/Android.mk
index e525e649..9864e131 100644
--- a/system/egl/Android.mk
+++ b/system/egl/Android.mk
@@ -19,9 +19,13 @@ else
LOCAL_SHARED_LIBRARIES += libdl
endif
+ifdef IS_AT_LEAST_OPD1
LOCAL_STATIC_LIBRARIES += libarect
+endif
+ifdef IS_AT_LEAST_OPM1
LOCAL_HEADER_LIBRARIES += libui_headers
+endif
ifdef IS_AT_LEAST_OPD1
LOCAL_HEADER_LIBRARIES += libnativebase_headers