commit | af14aeade60e3d9075b846c9616320cee0cde61d | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu Mar 12 09:37:05 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Thu Mar 12 09:37:05 2020 -0700 |
tree | 49daf4918fc690bc55799dda24a7b82f79ddeaf7 | |
parent | 0a43f5d84547018aa285d382581e341334e4671b [diff] |
liblog: fix header guards ordering __ANDROID_API__ isn't defined on host, so this check will fail due to -Wundef. The || is short circuited through, so we can check for host first and only have the right side of the || evaluated for device builds. Bug: 150898477 Bug: 151255209 Test: build Change-Id: I2e0bc055ac0c7ba8262875801cdaed9cc30d2cef