summaryrefslogtreecommitdiff
path: root/native/android/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'native/android/Android.bp')
-rw-r--r--native/android/Android.bp10
1 files changed, 9 insertions, 1 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp
index ae8cb3a47a05..9f52d856ea75 100644
--- a/native/android/Android.bp
+++ b/native/android/Android.bp
@@ -93,6 +93,14 @@ cc_library_shared {
},
}
+// Header-only library used for atrace in platform NDK builds
+cc_library_headers {
+ name: "libandroid_trace",
+ host_supported: true,
+ vendor_available: true,
+ export_include_dirs: ["trace"],
+}
+
// Network library.
cc_library_shared {
name: "libandroid_net",
@@ -137,4 +145,4 @@ filegroup {
"aidl/com/android/internal/compat/IPlatformCompatNative.aidl",
],
path: "aidl",
-} \ No newline at end of file
+}