Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-drmfb-composer: Commit

external/drmfb-composer


Commit MetaInfo

Revision1897fd6a4cc4c020b4ce7ab6e38042fea3cb9a62 (tree)
Time2021-04-11 04:07:51
AuthorMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Log Message

Link against android.hardware.graphics.composer@2.1-resources

Fixes the following building errors:

FAILED: out/target/product/x86_64/obj/EXECUTABLES/android.hardware.graphics.composer@2.1-service.drmfb_intermediates/LINKED/and
roid.hardware.graphics.composer@2.1-service.drmfb
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addVirtualDisplay(unsigne
d long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::removeDisplay(unsigned lo
ng)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addLayer(unsigned long, u
nsigned long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::removeLayer(unsigned long
, unsigned long)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::setDisplayClientTargetCac
heSize(unsigned long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::create()
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::clear(std::1::function<
void (unsigned long, bool, std::
1::vector<unsigned long, std::1::allocator<unsigned long> > const&)>)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addPhysicalDisplay(unsign
ed long)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::setDisplayMustValidateSta
te(unsigned long, bool)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getDisplayClientTarget(un
signed long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal:
:ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerHandleImporter::freeBuffer(native_ha
ndle const*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerHandleImporter::freeStream(native_ha
ndle const*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getDisplayOutputBuffer(un
signed long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal:
:ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getLayerBuffer(unsigned l
ong, unsigned long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_
1::hal::ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getLayerSidebandStream(un
signed long, unsigned long, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal::Comp
oserResources::ReplacedHandle*)
...
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

Change Summary

Incremental Difference

--- a/Android.mk
+++ b/Android.mk
@@ -40,7 +40,8 @@ LOCAL_SHARED_LIBRARIES := \
4040 android.hardware.graphics.mapper@2.0 \
4141 android.hardware.graphics.mapper@3.0 \
4242 android.hardware.graphics.mapper@4.0 \
43- android.hardware.graphics.composer@2.1
43+ android.hardware.graphics.composer@2.1 \
44+ android.hardware.graphics.composer@2.1-resources
4445
4546 ifeq ($(strip $(BOARD_USES_MINIGBM)), true)
4647 MINIGBM_PATH ?= external/minigbm
Show on old repository browser