blob: becb88214859673c4e9c69971ef386d554ecebc1 [file] [log] [blame]
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -07001/*
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 */
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080016
17package android.util;
18
19/**
20 * Build configuration. The constants in this class vary depending
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070021 * on release vs. debug build.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080022 * {@more}
23 */
Jesse Wilsona0f8bc52011-02-24 10:44:33 -080024public final class Config {
25 /** @hide */ public Config() {}
26
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080027 /**
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070028 * If this is a debug build, this field will be true.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080029 */
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070030 public static final boolean DEBUG = ConfigBuildFlags.DEBUG;
31
32 /*
33 * Deprecated fields
34 * TODO: Remove platform references to these and @hide them.
35 */
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080036
37 /**
Dianne Hackborn4a51c202009-08-21 15:14:02 -070038 * @deprecated Use {@link #DEBUG} instead.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080039 */
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070040 @Deprecated
41 public static final boolean RELEASE = !DEBUG;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080042
43 /**
Dianne Hackborn4a51c202009-08-21 15:14:02 -070044 * @deprecated Always false.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080045 */
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070046 @Deprecated
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080047 public static final boolean PROFILE = false;
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070048
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080049 /**
Dianne Hackborn4a51c202009-08-21 15:14:02 -070050 * @deprecated Always false.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080051 */
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070052 @Deprecated
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080053 public static final boolean LOGV = false;
54
55 /**
Dianne Hackborn4a51c202009-08-21 15:14:02 -070056 * @deprecated Always true.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080057 */
Android (Google) Code Reviewa3fcb442009-05-01 18:32:46 -070058 @Deprecated
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080059 public static final boolean LOGD = true;
60}