commit | 5c653761dbbbc131159892682a5850630f80d6cf | [log] [tgz] |
---|---|---|
author | Yahan Zhou <yahan@google.com> | Thu Jan 20 14:33:57 2022 -0800 |
committer | Yahan Zhou <yahan@google.com> | Thu Jan 20 14:33:57 2022 -0800 |
tree | e9d9721a617e4a92301ceeeeda7b053404dbe740 | |
parent | 935e3b7b2bcc5dd7b3444804e3b65b752ce72632 [diff] |
Build fix Test: build emulator and run unittests Change-Id: If6bb7f36e8612078f105e91a46e010263582f6eb
diff --git a/system/OpenglSystemCommon/HostConnection.cpp b/system/OpenglSystemCommon/HostConnection.cpp index c4124c7..8ce85e5 100644 --- a/system/OpenglSystemCommon/HostConnection.cpp +++ b/system/OpenglSystemCommon/HostConnection.cpp
@@ -104,7 +104,7 @@ static HostConnectionType getConnectionTypeFromProperty() { #ifdef __Fuchsia__ return HOST_CONNECTION_ADDRESS_SPACE; -#elif __ANDROID__ +#elif defined(__ANDROID__) || defined(HOST_BUILD) char transportValue[PROPERTY_VALUE_MAX] = ""; do {