OSDN Git Service

drm_hwcomposer: CI: Pull headers from the AOSPv11
authorRoman Stratiienko <r.stratiienko@gmail.com>
Fri, 2 Apr 2021 14:19:54 +0000 (17:19 +0300)
committerRoman Stratiienko <r.stratiienko@gmail.com>
Tue, 6 Apr 2021 09:03:30 +0000 (12:03 +0300)
commit6a7ac12a2fdd6e82ed6f4e64899236794363ac06
tree97c003002e54e3e62ff38603b010866e74c83394
parent3f89182bb9dfbb537d88dc4c6d02d3efff138f53
drm_hwcomposer: CI: Pull headers from the AOSPv11

The goal is to check compilation and clang-tidy at CI stage.
For both compile and tidy all dependent headers are required.
Compilation and tidy-check enabled by the next commit.

Done by invoking the following bash commands:

cp system/core/libcutils/include/cutils/native_handle.h \
   system/core/libcutils/include/cutils/compiler.h \
   system/core/libcutils/include/cutils/trace.h \
   external/drm_hwcomposer/.ci/android_headers/cutils/

cp external/libdrm/android/gralloc_handle.h \
   external/drm_hwcomposer/.ci/android_headers/gralloc_handle.h

cp hardware/libhardware/include/hardware/gralloc.h \
   hardware/libhardware/include/hardware/hardware.h \
   hardware/libhardware/include/hardware/hwcomposer.h \
   hardware/libhardware/include/hardware/hwcomposer2.h \
   hardware/libhardware/include/hardware/hwcomposer_defs.h \
   external/drm_hwcomposer/.ci/android_headers/hardware/

cp system/core/libsync/include/sync/sync.h \
   external/drm_hwcomposer/.ci/android_headers/sync/sync.h

cp system/core/libsync/include/ndk/sync.h \
   external/drm_hwcomposer/.ci/android_headers/ndk/sync.h

cp system/core/libsystem/include/system/graphics-base-v1.0.h \
   system/core/libsystem/include/system/graphics-base-v1.1.h \
   system/core/libsystem/include/system/graphics-base-v1.2.h \
   system/core/libsystem/include/system/graphics-base.h \
   system/core/libsystem/include/system/graphics-sw.h \
   system/core/libsystem/include/system/graphics.h \
   external/drm_hwcomposer/.ci/android_headers/system/

cp frameworks/native/libs/ui/include/ui/GraphicBuffer.h \
   external/drm_hwcomposer/.ci/android_headers/ui/GraphicBuffer.h

cp system/core/libutils/include/utils/Trace.h \
   external/drm_hwcomposer/.ci/android_headers/utils/Trace.h

Turn off clang-format check for these files.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Matvii Zorin <matvii.zorin@globallogic.com>
20 files changed:
.ci/.common.sh
.ci/android_headers/cutils/compiler.h [new file with mode: 0644]
.ci/android_headers/cutils/native_handle.h [new file with mode: 0644]
.ci/android_headers/cutils/trace.h [new file with mode: 0644]
.ci/android_headers/gralloc_handle.h [new file with mode: 0644]
.ci/android_headers/hardware/gralloc.h [new file with mode: 0644]
.ci/android_headers/hardware/hardware.h [new file with mode: 0644]
.ci/android_headers/hardware/hwcomposer.h [new file with mode: 0644]
.ci/android_headers/hardware/hwcomposer2.h [new file with mode: 0644]
.ci/android_headers/hardware/hwcomposer_defs.h [new file with mode: 0644]
.ci/android_headers/ndk/sync.h [new file with mode: 0644]
.ci/android_headers/sync/sync.h [new file with mode: 0644]
.ci/android_headers/system/graphics-base-v1.0.h [new file with mode: 0644]
.ci/android_headers/system/graphics-base-v1.1.h [new file with mode: 0644]
.ci/android_headers/system/graphics-base-v1.2.h [new file with mode: 0644]
.ci/android_headers/system/graphics-base.h [new file with mode: 0644]
.ci/android_headers/system/graphics-sw.h [new file with mode: 0644]
.ci/android_headers/system/graphics.h [new file with mode: 0644]
.ci/android_headers/ui/GraphicBuffer.h [new file with mode: 0644]
.ci/android_headers/utils/Trace.h [new file with mode: 0644]