summaryrefslogtreecommitdiff
path: root/libstats
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-09-17 09:38:42 -0700
committerTom Cherry <tomcherry@google.com>2020-09-18 22:48:42 +0000
commita5edc0fbbc0bce032ef64ca43c8434b0c1991ef3 (patch)
treee2f77a47c769e4a3b5e53ee4ade85f6c32212169 /libstats
parent4fd78ec4b314895b29a45dce718a29ee290e3017 (diff)
downloadcore-a5edc0fbbc0bce032ef64ca43c8434b0c1991ef3.tar.gz
Use libcutils_headers for android_filesystem_config.h
android_filesystem_config.h is found since system/core/include is on the include path for all projects and contains a symlink to the real android_filesystem_config.h. This is fragile and the below bug seeks to remove this symlink and have users correctly depend on libcutils_headers. Bug: 165825252 Test: build Change-Id: I1aad6a2e8fbe87635e97b0ac1be3414403353382
Diffstat (limited to 'libstats')
-rw-r--r--libstats/push_compat/Android.bp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libstats/push_compat/Android.bp b/libstats/push_compat/Android.bp
index a63a5b63b..43ae69d2e 100644
--- a/libstats/push_compat/Android.bp
+++ b/libstats/push_compat/Android.bp
@@ -32,7 +32,10 @@ cc_defaults {
"-DWRITE_TO_STATSD=1",
"-DWRITE_TO_LOGD=0",
],
- header_libs: ["libstatssocket_headers"],
+ header_libs: [
+ "libcutils_headers",
+ "libstatssocket_headers",
+ ],
static_libs: [
"libbase",
],