Better incremental builds

This commit is contained in:
topjohnwu
2018-09-27 03:56:56 -04:00
parent 41446ec9ba
commit 60b3b8ddce
14 changed files with 30 additions and 9 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
/* Include this header anywhere you access MAGISK_DEBUG, MAGISK_VERSION, MAGISK_VER_CODE.
*
* This file is only for more precise incremental builds. We can make sure code that uses
* external flags are re-compiled by updating the timestamp of this file
* */
#ifndef MAGISK_VERSION
#define MAGISK_VERSION 99.99
#endif
#ifndef MAGISK_VER_CODE
#define MAGISK_VER_CODE 99999
#endif
-1
View File
@@ -6,7 +6,6 @@
#include "logging.h"
#define MAGISK_VER_STR xstr(MAGISK_VERSION) ":MAGISK"
#define MAIN_SOCKET "d30138f2310a9fb9c54a3e0c21f58591"
#define LOG_SOCKET "5864cd77f2f8c59b3882e2d35dbf51e4"
#define JAVA_PACKAGE_NAME "com.topjohnwu.magisk"