Home | History | Annotate | Download | only in emugen
      1 ifneq ($(HOST_OS),windows)
      2 
      3 LOCAL_PATH:=$(call my-dir)
      4 
      5 $(call emugl-begin-host-executable,emugen)
      6 
      7     LOCAL_SRC_FILES := \
      8         ApiGen.cpp \
      9         EntryPoint.cpp \
     10         main.cpp \
     11         strUtils.cpp \
     12         TypeFactory.cpp
     13 
     14 $(call emugl-end-module)
     15 
     16 # The location of the emugen host tool that is used to generate wire
     17 # protocol encoders/ decoders. This variable is used by other emugl modules.
     18 EMUGL_EMUGEN := $(LOCAL_BUILT_MODULE)
     19 
     20 else # windows build
     21 
     22 # on windows use the build host emugen executable
     23 # (that will be the linux exeutable when using mingw build)
     24 EMUGL_EMUGEN := $(BUILD_OUT_EXECUTABLES)/emugen
     25 
     26 endif
     27