Revert "bootstat: Remove custom uptime parser in favor of elapsedRealtime."
This reverts commit 26f40c04c3ad80e2bc449990010d39d1c1b9a5f0.
This change broke the Darwin SDK target.
Test: none
Change-Id: Ia54fe2c31da8d8fa2825e023b035fb8321dcd457
diff --git a/base/Android.bp b/base/Android.bp
index 515b063..b9a6e0b 100644
--- a/base/Android.bp
+++ b/base/Android.bp
@@ -42,31 +42,21 @@
srcs: [
"errors_unix.cpp",
"properties.cpp",
- "chrono_utils.cpp",
],
cppflags: ["-Wexit-time-destructors"],
},
darwin: {
- srcs: [
- "errors_unix.cpp",
- ],
+ srcs: ["errors_unix.cpp"],
cppflags: ["-Wexit-time-destructors"],
},
linux_bionic: {
- srcs: [
- "chrono_utils.cpp",
- "errors_unix.cpp",
- ],
+ srcs: ["errors_unix.cpp"],
cppflags: ["-Wexit-time-destructors"],
enabled: true,
},
linux: {
- srcs: [
- "chrono_utils.cpp",
- "errors_unix.cpp",
- ],
+ srcs: ["errors_unix.cpp"],
cppflags: ["-Wexit-time-destructors"],
- host_ldlibs: ["-lrt"],
},
windows: {
srcs: [
@@ -98,14 +88,7 @@
],
target: {
android: {
- srcs: [
- "chrono_utils_test.cpp",
- "properties_test.cpp"
- ],
- },
- linux: {
- srcs: ["chrono_utils_test.cpp"],
- host_ldlibs: ["-lrt"],
+ srcs: ["properties_test.cpp"],
},
windows: {
srcs: ["utf8_test.cpp"],