diff options
author | dimitry <dimitry@google.com> | 2017-09-18 16:52:45 +0200 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2018-01-10 15:17:05 +0000 |
commit | e54b21279f58f50da2e42a4c009e467090152aeb (patch) | |
tree | 065e6e39986ff0da4d6a7a7d8fd924932590879b /client/Android.bp | |
parent | d7dd1d3af4ebac422303370301f1d98c9a84a8ae (diff) | |
download | netd-e54b21279f58f50da2e42a4c009e467090152aeb.tar.gz |
Untie libnetd_client.so from libcutils
Identify debuggable build in bp file instead of reading
ro.debuggable property.
Test: make
Change-Id: If286c3e5490c93ad687e38631af9b11d90dd79f2
Diffstat (limited to 'client/Android.bp')
-rw-r--r-- | client/Android.bp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/Android.bp b/client/Android.bp index 7ed1810f..85696cf8 100644 --- a/client/Android.bp +++ b/client/Android.bp @@ -20,8 +20,6 @@ cc_library { "NetdClient.cpp", ], - shared_libs: ["libcutils"], - header_libs: ["libnetd_client_headers"], export_header_lib_headers: ["libnetd_client_headers"], @@ -34,4 +32,10 @@ cc_library { "-Wall", "-Werror", ], + + product_variables: { + debuggable: { + cflags: ["-DNETD_CLIENT_DEBUGGABLE_BUILD"], + } + } } |