Fix ODR violation between media/gpu:common and ARC.
components/arc/video_accelerator:common included media/gpu:common as a dep. However, media/gpu:common is a source set. It ends up including all the code in media/gpu:common in the resulting ARC shared object in addition to media/gpu one. This would be okay, if it were the one-definition guideline. This CL replaces the dep with one on the component media/gpu:gpu. media/gpu:common symbols defined now. Bug: 1109309 Test: 'gn check' is still happy, and only libmedia_gpu.so has the Change-Id: I52d6d69956eb55a24df1cc97c11907e9b400d7c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2318686Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#792588}
Showing
Please register or sign in to comment