switch from defines to static consts

tm-mainline-prod is no longer in use

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I8704dccff1432ba811e99a89ea60028fd63365b5
This commit is contained in:
Maciej Żenczykowski
2023-10-03 05:12:11 +00:00
parent 20556ef70a
commit 2387323a23

View File

@@ -104,12 +104,11 @@ static const bool NO_UPDATETIME = false;
static const bool UPDATETIME = true; static const bool UPDATETIME = true;
// constants for passing in to ignore_on_eng / ignore_on_user / ignore_on_userdebug // constants for passing in to ignore_on_eng / ignore_on_user / ignore_on_userdebug
// define's instead of static const due to tm-mainline-prod compiler static_assert limitations static const bool LOAD_ON_ENG = false;
#define LOAD_ON_ENG false static const bool LOAD_ON_USER = false;
#define LOAD_ON_USER false static const bool LOAD_ON_USERDEBUG = false;
#define LOAD_ON_USERDEBUG false static const bool IGNORE_ON_ENG = true;
#define IGNORE_ON_ENG true static const bool IGNORE_ON_USER = true;
#define IGNORE_ON_USER true static const bool IGNORE_ON_USERDEBUG = true;
#define IGNORE_ON_USERDEBUG true
#define KVER_4_14 KVER(4, 14, 0) #define KVER_4_14 KVER(4, 14, 0)