1# Don't build LLDB unless we explicitly ask for it.
2# This guard will be removed once lldb is working
3# against Android devices.
4ifeq (true,$(ANDROID_BUILD_LLDB))
5
6LOCAL_PATH := $(call my-dir)
7LLDB_ROOT_PATH := $(LOCAL_PATH)
8
9include $(CLEAR_VARS)
10
11subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \
12  source \
13  source/API \
14  source/Breakpoint \
15  source/Commands \
16  source/Core \
17  source/DataFormatters \
18  source/Expression \
19  source/Host \
20  source/Interpreter \
21  source/Plugins \
22  source/Symbol \
23  source/Target \
24  source/Utility \
25  tools/driver \
26  ))
27
28include $(LOCAL_PATH)/lldb.mk
29include $(LOCAL_PATH)/host_shared_lldb.mk
30
31include $(subdirs)
32
33endif # don't build LLDB unless forced to
34