diff options
author | Greg Hartman <ghartman@google.com> | 2018-08-17 12:43:34 -0700 |
---|---|---|
committer | Greg Hartman <ghartman@google.com> | 2018-08-23 17:24:52 -0700 |
commit | 8cf8f6b088cc014921e1a9b3d4ebc93c3b5de8b8 (patch) | |
tree | d4968732d8516f2940cfcb340bacdf7693e0ceb3 /distrib/android-emugl/host/tools/emugen/Android.mk | |
parent | 182e4691d1c5e724fc60ed94b6de8a3356018cb6 (diff) | |
download | device_generic_opengl-transport-8cf8f6b088cc014921e1a9b3d4ebc93c3b5de8b8.tar.gz device_generic_opengl-transport-8cf8f6b088cc014921e1a9b3d4ebc93c3b5de8b8.tar.bz2 device_generic_opengl-transport-8cf8f6b088cc014921e1a9b3d4ebc93c3b5de8b8.zip |
distrib/android-emugl: Move Android GPU emulation sources here.
This patch is used to add the unmodified sources of the GPU
emulation libraries that are normally under sdk/emulator/opengl/.
These sources were originally built with the platform build system,
but this is no longer the case. Since they are only built through
the emulator's own build system (i.e. android-rebuild.sh), it's
easier to put them under external/qemu/ to ensure that they are
always in sync with the rest of the emulator.
Note that the encoder sources are still in the platform under
device/generic/goldfish/opengl/.
A future patch will update the emulator build system to pick
the sources from here, and another one will remove the sources
from sdk/ after that.
Note: these are the unmodified sources from the following
commit in https://android.googlesource.com/platform/sdk.git :
182e469 emulator/opengl: Fix Windows cross-build.
Change-Id: If2010577ef4af4c6755ab345f424af0b546f9282
Diffstat (limited to 'distrib/android-emugl/host/tools/emugen/Android.mk')
-rw-r--r-- | distrib/android-emugl/host/tools/emugen/Android.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/distrib/android-emugl/host/tools/emugen/Android.mk b/distrib/android-emugl/host/tools/emugen/Android.mk new file mode 100644 index 000000000..4d09c42c0 --- /dev/null +++ b/distrib/android-emugl/host/tools/emugen/Android.mk @@ -0,0 +1,29 @@ +# Determine if the emugen build needs to be builts from +# sources. +LOCAL_PATH:=$(call my-dir) + +$(call emugl-begin-host-executable,emugen) + +LOCAL_SRC_FILES := \ + ApiGen.cpp \ + EntryPoint.cpp \ + main.cpp \ + Parser.cpp \ + strUtils.cpp \ + TypeFactory.cpp \ + +LOCAL_HOST_BUILD := true + +$(call emugl-end-module) + +# The location of the emugen host tool that is used to generate wire +# protocol encoders/ decoders. This variable is used by other emugl modules. +EMUGL_EMUGEN := $(LOCAL_BUILT_MODULE) + +$(call emugl-begin-host-executable,emugen_unittests) +LOCAL_SRC_FILES := \ + Parser.cpp \ + Parser_unittest.cpp +LOCAL_HOST_BUILD := true +$(call emugl-import,libemugl_gtest_host) +$(call emugl-end-module) |