commit | 09b8d4fdd5ccb8036c88b0758aac991973723375 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Apr 28 12:39:48 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Fri Apr 28 13:00:00 2017 -0700 |
tree | c805e4f80352634ea7139ff6d50d5ea9e60798d4 | |
parent | 8e9b8a1dd82f9272cb697f83dc0bea4f1f418199 [diff] |
base: make boot_clock work on host linux, hide it on non-linux. boot_clock was previously returning zero on any platform that doesn't define __ANDROID__, including host bionic. Instead of returning a bogus value, just hide it on non-Linux platforms. Bug: http://b/37758947 Test: libbase_test32/64 on linux Change-Id: I96e1d8b92dc44c6308408900cf0d27e1e7db5569