Skip to content

Commit

Permalink
Merge "Remove default libraries"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Sep 30, 2017
2 parents e80beca + 1e45d53 commit 8b7feee
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 52 deletions.
2 changes: 0 additions & 2 deletions base/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ cc_library {
"errors_unix.cpp",
],
cppflags: ["-Wexit-time-destructors"],
host_ldlibs: ["-lrt"],
},
windows: {
srcs: [
Expand Down Expand Up @@ -138,7 +137,6 @@ cc_test {
},
linux: {
srcs: ["chrono_utils_test.cpp"],
host_ldlibs: ["-lrt"],
},
windows: {
srcs: ["utf8_test.cpp"],
Expand Down
5 changes: 0 additions & 5 deletions libbacktrace/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ cc_library {
],

static_libs: ["libcutils"],
host_ldlibs: ["-lrt"],
},
linux_bionic: {
enabled: true,
Expand Down Expand Up @@ -229,15 +228,11 @@ cc_test {
android: {
cflags: ["-DENABLE_PSS_TESTS"],
shared_libs: [
"libdl",
"libutils",
],
},
linux: {
host_ldlibs: [
"-lpthread",
"-lrt",
"-ldl",
"-lncurses",
],
static_libs: ["libutils"],
Expand Down
3 changes: 0 additions & 3 deletions liblog/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ cc_library {
not_windows: {
srcs: ["event_tag_map.cpp"],
},
linux: {
host_ldlibs: ["-lrt"],
},
linux_bionic: {
enabled: true,
},
Expand Down
7 changes: 0 additions & 7 deletions libnativebridge/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ cc_library {
cppflags: [
"-fvisibility=protected",
],

host_ldlibs: ["-ldl"],
target: {
android: {
shared_libs: ["libdl"],
},
},
}

subdirs = ["tests"]
8 changes: 0 additions & 8 deletions libnativebridge/tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ cc_defaults {
],
header_libs: ["libnativebridge-dummy-headers"],
cppflags: ["-fvisibility=protected"],
target: {
android: {
shared_libs: ["libdl"],
},
host: {
host_ldlibs: ["-ldl"],
},
},
}

cc_library_shared {
Expand Down
9 changes: 0 additions & 9 deletions libnativeloader/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ cc_library {
"libnativebridge",
"libbase",
],
target: {
android: {
shared_libs: ["libdl"],
},
host: {
host_ldlibs: ["-ldl"],
},
},
cflags: [
"-Werror",
"-Wall",
Expand All @@ -27,5 +19,4 @@ cc_library {
"-fvisibility=hidden",
],
export_include_dirs: ["include"],
local_include_dirs: ["include"],
}
16 changes: 0 additions & 16 deletions libunwindstack/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,6 @@ cc_test {
"libgmock",
],

target: {
linux: {
host_ldlibs: [
"-lrt",
],
},
},

data: [
"tests/files/elf32.xz",
"tests/files/elf64.xz",
Expand Down Expand Up @@ -178,14 +170,6 @@ cc_binary {
srcs: [
"tools/unwind.cpp",
],

target: {
linux: {
host_ldlibs: [
"-lrt",
],
},
},
}

cc_binary {
Expand Down
2 changes: 0 additions & 2 deletions libutils/tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ cc_test {
"libcutils",
"libutils",
"libbase",
"libdl",
],
},
linux: {
Expand All @@ -59,7 +58,6 @@ cc_test {
"liblog",
"libbase",
],
host_ldlibs: ["-ldl"],
},
},

Expand Down

0 comments on commit 8b7feee

Please sign in to comment.