Copy OpenGLES emulation libraries to SDK installation.
This patch ensures that the following host shared libraries
are copies to $SDK/tools/lib, when building the SDK:
- libOpenglRender
- libEGL_translator
- libGLES_CM_translator
- libGLES_V2_translator
Note that the Windows DLL must be copied manually in patch_windows_sdk.sh
I didn't find a way to make it work using tools.atree.
This has been tested to build the Linux, Windows and OS X SDK images.
Change-Id: Idae8fe705befbbcc31e8d4ff71998ea0803b32f1
diff --git a/build/windows_sdk_tools.mk b/build/windows_sdk_tools.mk
index 73f4d12..9f3db4b 100644
--- a/build/windows_sdk_tools.mk
+++ b/build/windows_sdk_tools.mk
@@ -10,3 +10,12 @@
mksdcard \
sdklauncher
+# Add OpenGLES emulation host libraries if needed.
+ifeq (true,$(BUILD_EMULATOR_OPENGL))
+WIN_SDK_TARGETS += \
+ libOpenglRender \
+ libGLES_CM_translator \
+ libGLES_V2_translator \
+ libEGL_translator
+endif
+