summaryrefslogtreecommitdiff
path: root/common/profiler/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'common/profiler/Android.bp')
-rw-r--r--common/profiler/Android.bp18
1 files changed, 15 insertions, 3 deletions
diff --git a/common/profiler/Android.bp b/common/profiler/Android.bp
index 990d148..4a5a0dd 100644
--- a/common/profiler/Android.bp
+++ b/common/profiler/Android.bp
@@ -36,9 +36,8 @@ cc_library_static {
host_supported: true,
}
-cc_library_shared {
- name:
- "lib_profiler",
+cc_defaults {
+ name: "lib_profiler_defaults",
srcs: [
"profiler.cc",
@@ -71,3 +70,16 @@ cc_library_shared {
host_supported: true,
rtti: true,
}
+
+cc_library_shared {
+ name: "lib_profiler",
+ defaults: ["lib_profiler_defaults"],
+}
+
+cc_test_library {
+ name: "lib_profiler_for_test",
+ defaults: ["lib_profiler_defaults"],
+ shared: {
+ enabled: false,
+ },
+}