Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

[Android] Exclude Wayland dependencies to resolve build errors #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MicheleL-Intel
Copy link

Change-Id: I4ef3de98d5a557356684f56f5acc7619961d41c0
Signed-off-by: Michele Lim [email protected]

Change-Id: I4ef3de98d5a557356684f56f5acc7619961d41c0
Signed-off-by: Michele Lim <[email protected]>
@@ -1229,6 +1232,7 @@ int32_t PortManager::SetPortProperty(
return EBUSY;
}
}
#ifndef ANDROID

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid a #ifndef ANDROID in the port manager. Commit c999be7 made the PortManager class inheritable. Anything specific to one compositor should be moved to the PortManagerHWComposer or PortManager classes.

@@ -271,15 +271,16 @@ int32_t SrmTable::VerifySignature(
r = BN_bin2bn(pR, DSA_SIG_LENGTH, nullptr);
s = BN_bin2bn(pS, DSA_SIG_LENGTH, nullptr);

if(DSA_SUCCESS != DSA_SIG_set0(sig, r, s))
#if OPENSSL_VERSION_NUMBER < 0x10100000L

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just explain a little about why this change is here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is part of encapsulation under "OPENSSL_VERSION_NUMBER < 0x10100000L) per specification (see line 81), without which the code will not compile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants