android: convert .mk files to .bp

Android use by default Soong Build System, *.mk files are deprecated
in favor of Android.bp [1].

All the logics present in android mk files have been ported to a
single Android.bp

optee_client.device.mk set the same default flags as we did in the
old Android *.mk files.

Example of configs in device/VENDOR/BOARD/device.mk:
Before:

CFG_TEE_FS_PARENT_PATH := /mnt/vendor/persist/tee

PRODUCT_PACKAGES += \
    libteec \
    tee-supplicant

After:

include $(PATH_OPTEE_CLIENT)/optee_client.device.mk
$(call soong_config_set,optee_client,cfg_tee_fs_parent_path,/mnt/vendor/persist/tee)

PRODUCT_PACKAGES += \
    libteec \
    tee-supplicant

[1] https://source.android.com/docs/setup/build

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Julien Masson <jmasson@baylibre.com>
5 files changed
tree: 9c51bd5e9f9f56b73c577a55c39d8079f5a17940
  1. .github/
  2. ci/
  3. libckteec/
  4. libseteec/
  5. libteeacl/
  6. libteec/
  7. scripts/
  8. tee-supplicant/
  9. .gitattributes
  10. .gitignore
  11. Android.bp
  12. CMakeLists.txt
  13. CMakeToolchain.txt
  14. config.mk
  15. flags.mk
  16. LICENSE
  17. Makefile
  18. optee_client.device.mk
  19. README.md
  20. typedefs.checkpatch
README.md

OP-TEE Client API

This git contains source code for the non-secure side implementation of the OP-TEE project making up the client library and tee-supplicant.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_client.

// OP-TEE core maintainers