summaryrefslogtreecommitdiff
path: root/perfprofd/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'perfprofd/Android.bp')
-rw-r--r--perfprofd/Android.bp59
1 files changed, 2 insertions, 57 deletions
diff --git a/perfprofd/Android.bp b/perfprofd/Android.bp
index 3f255448..aef9c23c 100644
--- a/perfprofd/Android.bp
+++ b/perfprofd/Android.bp
@@ -42,61 +42,6 @@ cc_defaults {
}
//
-// Static library for ELF symbolization.
-//
-// TODO: make this a proper part of simpleperf once that is moved to Soong.
-//
-
-cc_library_static {
- name: "libperfprofd_elf_read",
- defaults: [
- "perfprofd_defaults",
- ],
-
- export_include_dirs: [
- "simpleperf",
- ],
-
- cflags: [
- "-DSIMPLEPERF_REVISION=\"dummy\"",
- ],
-
- static_libs: [
- "libbase",
- ],
- // Use whole-static to avoid having to pull this in later.
- whole_static_libs: [
- "libLLVMObject",
- "libLLVMBitReader",
- "libLLVMMC",
- "libLLVMMCParser",
- "libLLVMCore",
- "libLLVMSupport",
- "liblog",
- "liblzma",
- "libz",
- "libziparchive",
- ],
-
- target: {
- // Required for LLVM.
- linux_glibc: {
- host_ldlibs: [
- "-lncurses",
- ],
- },
- },
-
- srcs: [
- "simpleperf/read_apk.cpp",
- "simpleperf/read_elf.cpp",
- "simpleperf/utils.cpp",
- ],
-
- group_static_libs: true,
-}
-
-//
// Static library containing guts of AWP daemon.
//
@@ -110,7 +55,7 @@ cc_library_static {
export_include_dirs: ["."],
static_libs: [
"libbase",
- "libperfprofd_elf_read",
+ "libsimpleperf_elf_read",
],
srcs: [
"perf_profile.proto",
@@ -147,7 +92,7 @@ cc_binary {
static_libs: [
"libperfprofdcore",
"libperfprofd_binder",
- "libperfprofd_elf_read",
+ "libsimpleperf_elf_read",
],
group_static_libs: true,