Todd Fiala | d55c5b1 | 2013-10-14 09:48:59 -0700 | [diff] [blame] | 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. |
| 4 | ifeq (true,$(ANDROID_BUILD_LLDB)) |
| 5 | |
| 6 | LOCAL_PATH := $(call my-dir) |
| 7 | LLDB_ROOT_PATH := $(LOCAL_PATH) |
| 8 | |
| 9 | include $(CLEAR_VARS) |
| 10 | |
| 11 | subdirs := $(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 | |
| 28 | include $(LOCAL_PATH)/lldb.mk |
| 29 | include $(LOCAL_PATH)/host_shared_lldb.mk |
| 30 | |
| 31 | include $(subdirs) |
| 32 | |
| 33 | endif # don't build LLDB unless forced to |