diff options
author | Andrii Chepurnyi <andrii_chepurnyi@epam.com> | 2020-04-23 20:48:13 +0300 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2020-06-26 18:44:41 +0000 |
commit | a63d66c7bbb2b990e86040eb646540924bd20a23 (patch) | |
tree | 13c14b5f06b3be2f1a2e1c9b0e15467614ab25af | |
parent | 8115dbe61c1de406d67786e47bc24fd519547fc5 (diff) |
drm_hwcomposer: Propagate PLATFORM_SDK_VERSION to cflags
PLATFORM_SDK_VERSION is needed for already present
code (GetDisplayIdentificationData/GetDisplayCapabilities),
which implements some of the android.hardware.graphics.composer@2.3 API.
Signed-off-by: Andrii Chepurnyi <andrii_chepurnyi@epam.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I1a5019e9d8ae327db41f55cee0ba3636f913928f
-rw-r--r-- | Android.bp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -61,6 +61,12 @@ cc_defaults { "-DHWC2_INCLUDE_STRINGIFICATION", ], + product_variables: { + platform_sdk_version: { + cflags: ["-DPLATFORM_SDK_VERSION=%d"], + }, + }, + relative_install_path: "hw", vendor: true, } |