summaryrefslogtreecommitdiffstats
path: root/libbacktrace
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-12-17 13:34:05 -0800
committerColin Cross <ccross@android.com>2016-12-17 13:34:05 -0800
commitd233c2752bfa96d5fc55c6d45622f64a48288cce (patch)
tree0023c2ce6428fda8b6ab37ab25268a39154ed597 /libbacktrace
parent3b261ace575a931d0cac9870798548560992c221 (diff)
downloadcore-d233c2752bfa96d5fc55c6d45622f64a48288cce.tar.gz
core-d233c2752bfa96d5fc55c6d45622f64a48288cce.tar.bz2
core-d233c2752bfa96d5fc55c6d45622f64a48288cce.zip
Remove obsolete mentions of LLVM_HOST_BUILD_MK
The libbacktrace common flags don't need the flags from LLVM_HOST_BUILD_MK, they are added directly to libbacktrace_offline. The -fno-omit-frame-pointer is unnecessary, as we no longer import flags only used to build LLVM into everything that depends on LLVM. Removing -Wno-extern-c-compat doesn't cause any warnings. Test: mma -j Change-Id: Ia01380e8572c3d84268843291a54ec8c932a327f
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/Android.bp14
1 files changed, 0 insertions, 14 deletions
diff --git a/libbacktrace/Android.bp b/libbacktrace/Android.bp
index 684e611a7..5b31ecb9f 100644
--- a/libbacktrace/Android.bp
+++ b/libbacktrace/Android.bp
@@ -27,22 +27,8 @@ cc_defaults {
include_dirs: ["external/libunwind/include/tdep"],
- // TODO: LLVM_DEVICE_BUILD_MK
- // TODO: LLVM_HOST_BUILD_MK
target: {
- host: {
- // -fno-omit-frame-pointer should be set for host build. Because currently
- // libunwind can't recognize .debug_frame using dwarf version 4, and it relies
- // on stack frame pointer to do unwinding on x86.
- // $(LLVM_HOST_BUILD_MK) overwrites -fno-omit-frame-pointer. so the below line
- // must be after the include.
- cflags: [
- "-Wno-extern-c-compat",
- "-fno-omit-frame-pointer",
- ],
- },
-
darwin: {
enabled: false,
},