commit | 1dbd976200cbcc2aa57322e6cdd45a0032ad9965 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Feb 24 14:02:05 2017 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Feb 24 14:03:36 2017 -0800 |
tree | 8f851db92bad852572fa4fe984f9baf104a3d704 | |
parent | 311de0ac28fb653b417ba7c2e431165f10c26aba [diff] [blame] |
Add cross-platform <android-base/endian.h>. Bionic has <sys/endian.h>, glibc <endian.h>, and macOS and Windows have nothing. This has often been annoying. Bug: N/A Test: new tests Change-Id: I2a40c570df6a9bb30607ace1af653265938cc4b8
diff --git a/base/Android.bp b/base/Android.bp index 694e029..7b1dc8e 100644 --- a/base/Android.bp +++ b/base/Android.bp
@@ -78,6 +78,7 @@ host_supported: true, clang: true, srcs: [ + "endian_test.cpp", "errors_test.cpp", "file_test.cpp", "logging_test.cpp",