blob: bd7a578b5ddb32dd2c2cd9d465f88a09212d2a08 [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 \
Steven Moreland9c387612016-09-07 09:54:26 -070018 generateCppImpl.cpp \
Andreas Huber2831d512016-08-15 09:33:47 -070019 generateJava.cpp \
Zhuoyao Zhang5158db42016-08-10 10:25:20 -070020 generateVts.cpp \
Andreas Huber295ad302016-08-16 11:35:00 -070021 GenericBinder.cpp \
Andreas Huberc9410c72016-07-28 12:18:40 -070022 HandleType.cpp \
23 hidl-gen_y.yy \
24 hidl-gen_l.ll \
25 Interface.cpp \
26 Method.cpp \
27 NamedType.cpp \
Andreas Huber4b2cf352016-08-31 13:58:19 -070028 PredefinedType.cpp \
Andreas Huberc9410c72016-07-28 12:18:40 -070029 ScalarType.cpp \
30 Scope.cpp \
Steven Morelandaf440142016-09-07 10:09:11 -070031 StringHelper.cpp \
Andreas Huberc9410c72016-07-28 12:18:40 -070032 StringType.cpp \
33 Type.cpp \
34 TypeDef.cpp \
35 VectorType.cpp \
36 AST.cpp \
37 main.cpp \
38
39LOCAL_SHARED_LIBRARIES := \
40 libbase \
41 liblog \
42
43LOCAL_STATIC_LIBRARIES := \
44 libutils \
45
Andreas Huber0d0f9a22016-08-17 10:26:11 -070046LOCAL_CFLAGS := -O0 -g -Wno-deprecated-register
Andreas Huber881227d2016-08-02 14:20:21 -070047
Andreas Huberc9410c72016-07-28 12:18:40 -070048include $(BUILD_HOST_EXECUTABLE)
Andreas Huberb82318c2016-08-02 14:45:54 -070049
Steven Moreland88ca4512016-08-11 11:24:10 -070050include $(call all-makefiles-under,$(LOCAL_PATH))