blob: ce597f8817bfbfd9e01cc1c8f8a1f5f06c518cbd [file] [log] [blame]
Andreas Huberc9410c72016-07-28 12:18:40 -07001LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
Iliyan Malchev2d5331a2016-08-06 09:00:46 -07004LOCAL_MODULE := hidl-gen
Andreas Huberc9410c72016-07-28 12:18:40 -07005LOCAL_MODULE_CLASS := EXECUTABLES
6LOCAL_IS_HOST_MODULE := true
7
8LOCAL_SRC_FILES := \
Andreas Huber3599d922016-08-09 10:42:57 -07009 Annotation.cpp \
Andreas Huberc9410c72016-07-28 12:18:40 -070010 ArrayType.cpp \
11 CompoundType.cpp \
Yifan Hong52165692016-08-12 18:06:40 -070012 ConstantExpression.cpp \
Andreas Huber5345ec22016-07-29 13:33:27 -070013 Coordinator.cpp \
Andreas Huberc9410c72016-07-28 12:18:40 -070014 EnumType.cpp \
15 Formatter.cpp \
Andreas Huber84f89de2016-07-28 15:39:51 -070016 FQName.cpp \
Andreas Huber881227d2016-08-02 14:20:21 -070017 generateCpp.cpp \
Andreas Huber2831d512016-08-15 09:33:47 -070018 generateJava.cpp \
Zhuoyao Zhang5158db42016-08-10 10:25:20 -070019 generateVts.cpp \
Andreas Huber295ad302016-08-16 11:35:00 -070020 GenericBinder.cpp \
Andreas Huberc9410c72016-07-28 12:18:40 -070021 HandleType.cpp \
22 hidl-gen_y.yy \
23 hidl-gen_l.ll \
24 Interface.cpp \
25 Method.cpp \
26 NamedType.cpp \
Andreas Huber4b2cf352016-08-31 13:58:19 -070027 PredefinedType.cpp \
Andreas Huberc9410c72016-07-28 12:18:40 -070028 ScalarType.cpp \
29 Scope.cpp \
30 StringType.cpp \
31 Type.cpp \
32 TypeDef.cpp \
33 VectorType.cpp \
34 AST.cpp \
35 main.cpp \
36
37LOCAL_SHARED_LIBRARIES := \
38 libbase \
39 liblog \
40
41LOCAL_STATIC_LIBRARIES := \
42 libutils \
43
Andreas Huber0d0f9a22016-08-17 10:26:11 -070044LOCAL_CFLAGS := -O0 -g -Wno-deprecated-register
Andreas Huber881227d2016-08-02 14:20:21 -070045
Andreas Huberc9410c72016-07-28 12:18:40 -070046include $(BUILD_HOST_EXECUTABLE)
Andreas Huberb82318c2016-08-02 14:45:54 -070047
Steven Moreland88ca4512016-08-11 11:24:10 -070048include $(call all-makefiles-under,$(LOCAL_PATH))