diff --git a/include/backtrace b/include/backtrace new file mode 120000 index 000000000..93ce2b1e9 --- /dev/null +++ b/include/backtrace @@ -0,0 +1 @@ +../libbacktrace/include/backtrace \ No newline at end of file diff --git a/libbacktrace/Android.bp b/libbacktrace/Android.bp index 8f74a1ace..7de72a876 100644 --- a/libbacktrace/Android.bp +++ b/libbacktrace/Android.bp @@ -55,6 +55,11 @@ libbacktrace_sources = [ "UnwindPtrace.cpp", ] +cc_library_headers { + name: "libbacktrace_headers", + export_include_dirs: ["include"], +} + cc_library { name: "libbacktrace", defaults: ["libbacktrace_common"], @@ -64,6 +69,8 @@ cc_library { "BacktraceMap.cpp", ], + export_include_dirs: ["include"], + target: { darwin: { enabled: true, diff --git a/include/backtrace/Backtrace.h b/libbacktrace/include/backtrace/Backtrace.h similarity index 100% rename from include/backtrace/Backtrace.h rename to libbacktrace/include/backtrace/Backtrace.h diff --git a/include/backtrace/BacktraceMap.h b/libbacktrace/include/backtrace/BacktraceMap.h similarity index 100% rename from include/backtrace/BacktraceMap.h rename to libbacktrace/include/backtrace/BacktraceMap.h diff --git a/include/backtrace/backtrace_constants.h b/libbacktrace/include/backtrace/backtrace_constants.h similarity index 100% rename from include/backtrace/backtrace_constants.h rename to libbacktrace/include/backtrace/backtrace_constants.h