Home | History | Annotate | Download | only in util
      1 /*
      2  * Copyright (C) 2006 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package android.util;
     18 
     19 /**
     20  * Build configuration.  The constants in this class vary depending
     21  * on release vs. debug build.
     22  * {@more}
     23  */
     24 public final class Config
     25 {
     26     /**
     27      * If this is a debug build, this field will be true.
     28      */
     29     public static final boolean DEBUG = ConfigBuildFlags.DEBUG;
     30 
     31     /*
     32      * Deprecated fields
     33      * TODO: Remove platform references to these and @hide them.
     34      */
     35 
     36     /**
     37      * @deprecated Use {@link #DEBUG} instead.
     38      */
     39     @Deprecated
     40     public static final boolean RELEASE = !DEBUG;
     41 
     42     /**
     43      * @deprecated Always false.
     44      */
     45     @Deprecated
     46     public static final boolean PROFILE = false;
     47 
     48     /**
     49      * @deprecated Always false.
     50      */
     51     @Deprecated
     52     public static final boolean LOGV = false;
     53 
     54     /**
     55      * @deprecated Always true.
     56      */
     57     @Deprecated
     58     public static final boolean LOGD = true;
     59 }
     60