Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix include directories and generated header files in Android.bp #840

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

rosetta-jpn
Copy link

The build artifact of libva has va_drm.h in va/ directory. This is done by va/drm/Makefile.am in libva. Therefore, code typically includes va/va_drm.h. This CL modifies Android.bp so libva_gen_headers copy va_drm.h in va/ directory and libva sets include path to the generated headers.

The build artifact of libva has va_drm.h in va/ directory. This
is done by va/drm/Makefile.am in libva. Therefore, code typically
includes va/va_drm.h. This CL modifies Android.bp so
`libva_gen_headers` copy va_drm.h in va/ directory and `libva` sets
include path to the generated headers.
@rosetta-jpn
Copy link
Author

@rosetta-jpn
Copy link
Author

@XinfengZhang Could you change this patch?

@XinfengZhang
Copy link
Contributor

LGTM, from this patch, android need to use drm interface directly, suppose we will remove va_android.cpp in future?

@rosetta-jpn
Copy link
Author

I agree. I am happy to remove libva-android in Android.bp and va_android.cpp in a follow up patch.

@rosetta-jpn
Copy link
Author

Could you merge this patch?

@XinfengZhang XinfengZhang merged commit e4dc66b into intel:master Nov 28, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants