Skip to content

Commit

Permalink
Merge changes Ia11dffde,I76f24890
Browse files Browse the repository at this point in the history
* changes:
  Convert libnetutils to Android.bp
  Don't export libutils_headers from libbase
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Apr 20, 2017
2 parents f890ca9 + cafe889 commit bd53ea4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 25 deletions.
8 changes: 4 additions & 4 deletions base/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ cc_library_headers {
host_supported: true,
export_include_dirs: ["include"],

header_libs: ["libutils_headers"],
export_header_lib_headers: ["libutils_headers"],

target: {
linux_bionic: {
enabled: true,
Expand All @@ -54,7 +51,10 @@ cc_library {
"test_utils.cpp",
],

header_libs: ["libbase_headers"],
header_libs: [
"libbase_headers",
"libutils_headers",
],
export_header_lib_headers: ["libbase_headers"],

cppflags: libbase_cppflags,
Expand Down
19 changes: 19 additions & 0 deletions libnetutils/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
cc_library_shared {
name: "libnetutils",

srcs: [
"dhcpclient.c",
"dhcpmsg.c",
"ifc_utils.c",
"packet.c",
],

shared_libs: [
"libcutils",
"liblog",
],

cflags: ["-Werror"],

export_include_dirs: ["include"],
}
21 changes: 0 additions & 21 deletions libnetutils/Android.mk

This file was deleted.

0 comments on commit bd53ea4

Please sign in to comment.