aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorBryan Klimt <klimt@google.com>2019-11-22 10:55:42 -0800
committerMike Frysinger <vapier@chromium.org>2019-12-04 19:46:05 +0000
commit5bc3092b30e022b1629d94867e64c9388bc289cf (patch)
tree590ff59ab0d64af94368eab04c627596e22f73b9 /android
parentdump_syms: handle forward reference DWARF attributes (diff)
downloadbreakpad-5bc3092b30e022b1629d94867e64c9388bc289cf.tar.xz
Add a variable to allow adding an extra include path for LSS.
I have a project where we are trying to include breakpad as a git submodule. The only problem getting it to build with ndk-build is that the linux_syscall_support.h header is missing. Normally, this header would be downloaded by the depot_tools. But we cannot install depot_tools on our CI machines. So, we would like to include the header as a separate submodule in our repo. The only change we would need to make to breakpad to make that work is to add this optional variable to the C header search path. In the normal case, this variable will not be set and nothing will be different. But we can set the variable to allow us to build without installing depot_tools. I have manually tested this using a separate project that links to breakpad in this way. Change-Id: Id116b2af1c1ba0a08464c213d8982b24a1821ee7 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1930179 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'android')
-rw-r--r--android/google_breakpad/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/google_breakpad/Android.mk b/android/google_breakpad/Android.mk
index 20a3f4f1..bf381161 100644
--- a/android/google_breakpad/Android.mk
+++ b/android/google_breakpad/Android.mk
@@ -93,7 +93,8 @@ LOCAL_SRC_FILES := \
src/common/linux/safe_readlink.cc
LOCAL_C_INCLUDES := $(LOCAL_PATH)/src/common/android/include \
- $(LOCAL_PATH)/src
+ $(LOCAL_PATH)/src \
+ $(LSS_PATH)
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_EXPORT_LDLIBS := -llog