Android build sytem
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest11 patches 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | build: list all test/tool/lib source files in their own Makefile.sourceslib/ lib/ tests/ +3 more | +302 | 0 replies | |
| 2/11 | build: Fix missing "\" in tests/Makefile.sourcestests/ | +1 | 0 replies | |
| 3/11 | build: Move logic to tests/Makefile.am and away from Makefile.sourcestests/ tests/ | +4 | 0 replies | |
| 4/11 | lib: Move kms stuff from drmtest.c over to igt_kms.clib/ lib/ lib/ +9 more | +875 | 0 replies | |
| 5/11 | rendercopy: Remove rendercopy.clib/ lib/ lib/ +1 more | +21 | 0 replies | |
| 6/11 | tests/drm_get_client_auth: In Android, use gettid() instead of syscall(SYS_gettid)tests/ | +7 | 0 replies | |
| 7/11 | tests/gem_vmap_blits: Finish extracting gem_readtests/ | +0 | 0 replies | |
| 8/11 | build: Fix assorted compilation warningslib/ lib/ lib/ +2 more | +9 | 0 replies | |
| 9/11 | lib/drmtest: Get the correct basename() under Androidlib/ | +5 | 0 replies | |
| 10/11 | lib/igt_display: workaround a name conflict in Androidlib/ | +4 | 0 replies | |
| 11/11 | build: New Android makefilesAndroid.mk tests/ tools/ | +149 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/11] Android build sytem
From: Oscar Mateo <[email protected]>
These patches aim to create an Android build system. This used to exist, but the old Android.mk files were bit-rotten and therefore kicked out.
As suggested by Daniel Vetter and Damien Lespiau, as a fist step I extracted the source files lists into a Makefile.sources which can be included by both the autoconf files and the Android makefiles.
Changes since the last submission:
- Tabs when defining variables are fine, but fix missing "\" (thanks Damien).
- Drop some of the warning fixes and instead fix compilation flags.
- Reword comment and commit message in name conflict with Android's i915_drm.h
- Do not error on return-type (at least until Bionic correctly annotates "noreturn" on pthread_exit).
Oscar Mateo (11):
build: list all test/tool/lib source files in their own
Makefile.sources
build: Fix missing "\" in tests/Makefile.sources
build: Move logic to tests/Makefile.am and away from Makefile.sources
lib: Move kms stuff from drmtest.c over to igt_kms.c
rendercopy: Remove rendercopy.c
tests/drm_get_client_auth: In Android, use gettid() instead of
syscall(SYS_gettid)
tests/gem_vmap_blits: Finish extracting gem_read
build: Fix assorted compilation warnings
lib/drmtest: Get the correct basename() under Android lib/igt_display: workaround a name conflict in Android
build: New Android makefiles
Android.mk | 530 +----------------------------- lib/Makefile.am | 38 +-- lib/Makefile.sources | 37 +++ lib/drmtest.c | 744 +---------------------------------------- lib/drmtest.h | 76 +---- lib/igt_display.h | 4 + lib/igt_kms.c | 764 +++++++++++++++++++++++++++++++++++++++++++ lib/igt_kms.h | 102 ++++++ lib/intel_batchbuffer.h | 2 +- lib/intel_gpu_tools.h | 2 +- lib/intel_reg_map.c | 4 +- lib/rendercopy.c | 49 --- lib/rendercopy.h | 2 - tests/Android.mk | 77 +++++ tests/Makefile.am | 206 +----------- tests/Makefile.sources | 203 ++++++++++++ tests/drm_get_client_auth.c | 10 +- tests/gem_render_copy.c | 21 ++ tests/gem_vmap_blits.c | 14 - tests/kms_cursor_crc.c | 1 + tests/kms_flip.c | 1 + tests/kms_pipe_crc_basic.c | 1 + tests/kms_render.c | 1 + tests/kms_setmode.c | 1 + tests/pm_pc8.c | 1 + tests/testdisplay.c | 1 + tools/Android.mk | 70 ++++ tools/Makefile.am | 54 +-- tools/Makefile.sources | 53 +++ 29 files changed, 1369 insertions(+), 1700 deletions(-) create mode 100644 lib/Makefile.sources create mode 100644 lib/igt_kms.c create mode 100644 lib/igt_kms.h delete mode 100644 lib/rendercopy.c create mode 100644 tests/Android.mk create mode 100644 tests/Makefile.sources create mode 100644 tools/Android.mk create mode 100644 tools/Makefile.sources
Signature · 1 line
1.7.9.5