Revert "Revert "goldfish-codecs: initial empty dirs for omx based codecs""
This reverts commit d15b75a6bc52f1b653abb024235cb79f4e1f46d7.
Reason for revert: updated CMakeLists.txt
Change-Id: I03be5557a001691494bcd9d3a2643b3f42312dff
diff --git a/Android.mk b/Android.mk
index 6cf4651..be55536 100644
--- a/Android.mk
+++ b/Android.mk
@@ -159,6 +159,8 @@
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 28 -o $(IS_AT_LEAST_QPR1) = true && echo isApi29OrHigher),isApi29OrHigher)
# HWC2 enabled after P
include $(GOLDFISH_OPENGL_PATH)/system/hwc2/Android.mk
+ # hardware codecs enabled after P
+ include $(GOLDFISH_OPENGL_PATH)/system/codecs/Android.mk
endif
endif
diff --git a/CMakeLists.txt b/CMakeLists.txt
index add8779..ebce862 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
# instead run make from .../device/generic/goldfish-opengl
# which will re-generate this file.
set(GOLDFISH_DEVICE_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
-android_validate_sha256("${GOLDFISH_DEVICE_ROOT}/./Android.mk" "cfc211dbbd3c755fb04aef9a811289d617130f92147e411e8099550e284b095a")
+android_validate_sha256("${GOLDFISH_DEVICE_ROOT}/./Android.mk" "6f3f2edf585ceb300d451a311100ab85b6c1506e2bd11c9ce871807ba50484c0")
add_subdirectory(shared/OpenglCodecCommon)
add_subdirectory(system/GLESv1_enc)
add_subdirectory(system/GLESv2_enc)
@@ -14,4 +14,4 @@
add_subdirectory(system/GLESv2)
add_subdirectory(system/gralloc)
add_subdirectory(system/egl)
-add_subdirectory(system/vulkan)
\ No newline at end of file
+add_subdirectory(system/vulkan)
diff --git a/system/codecs/Android.mk b/system/codecs/Android.mk
new file mode 100644
index 0000000..5053e7d
--- /dev/null
+++ b/system/codecs/Android.mk
@@ -0,0 +1 @@
+include $(call all-subdir-makefiles)