Skip to content
Snippets Groups Projects
Commit aed1f934 authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

c2_e2e_test: remove __dso_handle.

Seems the __dso_handle issue is resolved at R branch. Instead, keeping
__dso_handle causes compilation error.
This CL removes the workaround to fix the compilation.

Bug: 146030443
Test: mmm external/v4l2_codec2/tests/c2_e2e_test

Change-Id: Id7364c6bced6d4a6f7cc22b9b3f3b8869a859910
parent cac74e38
No related branches found
No related tags found
No related merge requests found
...@@ -106,10 +106,4 @@ JNIEXPORT void JNICALL Java_org_chromium_c2_test_E2eTestActivity_stopDecoderLoop ...@@ -106,10 +106,4 @@ JNIEXPORT void JNICALL Java_org_chromium_c2_test_E2eTestActivity_stopDecoderLoop
reinterpret_cast<android::MediaCodecDecoder*>(decoderPtr)->StopLooping(); reinterpret_cast<android::MediaCodecDecoder*>(decoderPtr)->StopLooping();
} }
// Gtest only provides a static library, but the build system doesn't like including
// that in a shared library. In particular, __dso_handle is not exposed for shared
// libraries, but static libraries expect to find it. Manually providing the symbol
// can cause some problems with global destructors, but that doesn't currently cause
// problems for us. This approach should *not* be copied to other places.
void* __dso_handle;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment