mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
different logging TAG for different variants
This commit is contained in:
parent
6871ef24a6
commit
a5f332dd1d
2 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,7 @@ import junit.framework.Assert;
|
|||
import org.eehouse.android.xw4.loc.LocUtils;
|
||||
|
||||
public class DbgUtils {
|
||||
private static final String TAG = "XW4";
|
||||
private static final String TAG = BuildConstants.DBG_TAG;
|
||||
private static boolean s_doLog = BuildConfig.DEBUG;
|
||||
|
||||
private static Time s_time = new Time();
|
||||
|
|
|
@ -27,11 +27,13 @@ case $VARIANT in
|
|||
APPNAME=Crosswords
|
||||
SMSPORT=3344
|
||||
INVITE_PREFIX=/and/
|
||||
DBG_TAG=XW4
|
||||
;;
|
||||
xw4dbg)
|
||||
APPNAME=CrossDbg
|
||||
SMSPORT=3345
|
||||
INVITE_PREFIX=/anddbg/
|
||||
DBG_TAG=X4BG
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
|
@ -75,6 +77,7 @@ class BuildConstants {
|
|||
public static final boolean CHAT_SUPPORTED = $CHAT_SUPPORTED;
|
||||
public static final boolean THUMBNAIL_SUPPORTED = $THUMBNAIL_SUPPORTED;
|
||||
public static final long BUILD_STAMP = $(date +'%s');
|
||||
public static final String DBG_TAG = "$DBG_TAG";
|
||||
}
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue