aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/tools/emugen/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/opengl/host/tools/emugen/Android.mk')
-rw-r--r--emulator/opengl/host/tools/emugen/Android.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/emulator/opengl/host/tools/emugen/Android.mk b/emulator/opengl/host/tools/emugen/Android.mk
new file mode 100644
index 000000000..ad9ab06f8
--- /dev/null
+++ b/emulator/opengl/host/tools/emugen/Android.mk
@@ -0,0 +1,26 @@
+ifneq ($(HOST_OS),windows)
+
+LOCAL_PATH:=$(call my-dir)
+
+$(call emugl-begin-host-executable,emugen)
+
+ LOCAL_SRC_FILES := \
+ ApiGen.cpp \
+ EntryPoint.cpp \
+ main.cpp \
+ strUtils.cpp \
+ TypeFactory.cpp
+
+$(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)
+
+else # windows build
+
+# on windows use the build host emugen executable
+# (that will be the linux exeutable when using mingw build)
+EMUGL_EMUGEN := $(BUILD_OUT_EXECUTABLES)/emugen
+
+endif