mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-30 01:25:55 +00:00
Switch android build to use NDK-provided cmake file
* The existing android cmake file doesn't work with newer NDK releases, so we have to use the provided cmake file. It should work in NDKs as far back as version 14.
This commit is contained in:
@@ -186,4 +186,14 @@ enum
|
||||
// this strips them completely
|
||||
#define STRIP_DEBUG_LOGS OPTION_OFF
|
||||
|
||||
#define ENABLE_UNIT_TESTS RDOC_DEVEL
|
||||
// disable unit tests on android
|
||||
#if ENABLED(RDOC_ANDROID)
|
||||
|
||||
#define ENABLE_UNIT_TESTS OPTION_OFF
|
||||
|
||||
#else
|
||||
|
||||
// otherwise, enable them in development builds
|
||||
#define ENABLE_UNIT_TESTS RDOC_DEVEL
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user