Commit graph

5 commits

Author SHA1 Message Date
Colin Cross
b1ea33b64c Replace -Weverything with -Wextra
-Weverything is not recommended, use -Wextra.

Bug: 143713277
Test: mma
Change-Id: Ic242983ce984ae87d4b6937af8c106abe8e38364
2019-11-08 13:09:00 -08:00
Doug Horn
2306f46f9a Build both static and shared lib.
Bug: 111611872
Test: Compile, verify output.
Change-Id: I3a8ce3dbad2738e376a131a8e8613b3a4f6bf033
2018-09-25 10:56:25 -07:00
Chih-Hung Hsieh
122352d983 Use -Werror in system/core
* Move -Wall -Werror from cppflags to cflags.
* Fix/suppress warning on unused variables.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I1e05e96a1d0bcb2ccef1ce456504b3af57167cc5
2017-11-01 11:32:55 -07:00
Jiyong Park
684ad96c27 Mark libgrallocusage as vendor_available
libgrallocusage is used by libui which will be vendor_available: true.

Test: BOARD_VNDK_VERSION=current m libgrallocusage is successful
Change-Id: I476768d8b103033f3b8e5b09f53f4ac422ae377c
2017-05-04 12:25:43 +09:00
Jesse Hall
33eab3a829 Add gralloc usage conversion functions
Converting gralloc1 / ..graphics.allocator@2.0 usage to gralloc0 usage
requires more than just ORing bits and truncating: the CPU_READ_OFTEN
bits don't match up correctly. Add utility functions for converting
back and forth which handle this properly.

Test: boot bullhead-eng
Change-Id: I1cee972feaea486d5607c60acead2e870c2c9549
2017-03-28 08:22:54 -07:00