Check build MODE to check gpiod fw.

Some Android doesn't support gpiod frameworks. So check MODE to include
gpiod fw. It should be determined before building.

Signed-off-by: Luke go <sangch.go@gmail.com>
Change-Id: I5b4627c86b4b083622822576c5afa0dd72894faf
This commit is contained in:
Luke go
2022-02-08 12:33:49 +09:00
parent f316f52636
commit 7be6d78a01
3 changed files with 34 additions and 8 deletions

View File

@@ -56,6 +56,7 @@ cc_library_shared {
cflags: [
"-UNDEBUG",
"-DANDROID",
"-DDEVMEM",
"-Wno-return-type",
],