1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
Roman Stratiienko
2852f7d46d drm_hwcomposer: Fix build_deploy script and switch it to hwc3
New aospless file requires `install` target instead of `all`.

Change-Id: I5014d3b8bd3120c699c12c4a04a1d20c63ec8330
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2024-11-27 23:23:57 +02:00
Roman Stratiienko
6e5c82eae6 drm_hwcomposer: CI: Properly upgrade drm_hwc aospless file
In the previous version, build flags pointed to Android API v33, while
headers were from Android API v35. This caused issues when using
"if __ANDROID_API__ >= 35" preprocessor macros.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2024-10-17 02:13:20 +03:00
Roman Stratiienko
2a93e4c882 drm_hwcomposer: CI: Use aospext to provide headers for clang-tidy
Since we're now using aospless archive for meson.build, we can use
headers from there and remove .ci/android_headers/ directory completely.

Adding aospless cflags also raised some new tidy checks fails,
which were fixed by this commit.

Since clang-tidy now relies on aospless files, running CI on the host
can't be supported and removed. Running CI within the docker container
is the only option left.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2023-11-21 18:50:58 +02:00
Roman Stratiienko
2bf68c3749 drm_hwcomposer: Add meson build to CI
Now CI is building drm_hwcomposer for arm64 arch and generates
ready-to-deploy artifacts.

Dependencies for meson cross build were extracted from Android-13
using GloDroid/aospext project [1].

./build_deploy.sh script was migrated into Makefile and no longer
require AOSP to work. Usage example:

    make build_deploy

Only arm64 platform is supported at this moment.
Other platforms will be added later.

[1]: https://github.com/GloDroid/aospext
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2023-01-04 17:17:36 +02:00
Roman Stratiienko
3295719124 drm_hwcomposer: Add support for running CI locally using docker
Prior to this commit running local CI script required the latest non-LTS
ubuntu installed.

To run CI on host run:

    make local_presubmit

To run CI within docker container run:

    make ci

With this commit we're also setting the stage for meson build.

Change-Id: I759c35ef8da306de8759f290c11c39c4b237bb8c
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2022-12-19 19:12:44 +02:00