| # 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_INSTALL := false |
| |
| $(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_INSTALL := false |
| $(call emugl-import,libemugl_gtest_host) |
| $(call emugl-end-module) |