• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2011 The Android Open Source Project
3  *
4  * Licensed under the Eclipse Public License, Version 1.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.eclipse.org/org/documents/epl-v10.php
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 com.android.sdklib.repository;
18 
19 
20 
21 /**
22  * Public constants used by the repository when saving {@code source.properties}
23  * files in local packages.
24  * <p/>
25  * These constants are public and part of the SDK Manager public API.
26  * Once published we can't change them arbitrarily since various parts
27  * of our build process depend on them.
28  */
29 public class PkgProps {
30 
31     // Base Package
32 
33     public static final String PKG_REVISION             = "Pkg.Revision";           //$NON-NLS-1$
34     public static final String PKG_LICENSE              = "Pkg.License";            //$NON-NLS-1$
35     public static final String PKG_DESC                 = "Pkg.Desc";               //$NON-NLS-1$
36     public static final String PKG_DESC_URL             = "Pkg.DescUrl";            //$NON-NLS-1$
37     public static final String PKG_RELEASE_NOTE         = "Pkg.RelNote";            //$NON-NLS-1$
38     public static final String PKG_RELEASE_URL          = "Pkg.RelNoteUrl";         //$NON-NLS-1$
39     public static final String PKG_SOURCE_URL           = "Pkg.SourceUrl";          //$NON-NLS-1$
40     public static final String PKG_OBSOLETE             = "Pkg.Obsolete";           //$NON-NLS-1$
41 
42     // AndroidVersion
43 
44     public static final String VERSION_API_LEVEL        = "AndroidVersion.ApiLevel";//$NON-NLS-1$
45     public static final String VERSION_CODENAME         = "AndroidVersion.CodeName";//$NON-NLS-1$
46 
47     // AddonPackage
48 
49     public static final String ADDON_NAME               = "Addon.Name";             //$NON-NLS-1$
50     public static final String ADDON_NAME_ID            = "Addon.NameId";           //$NON-NLS-1$
51     public static final String ADDON_NAME_DISPLAY       = "Addon.NameDisplay";      //$NON-NLS-1$
52 
53     public static final String ADDON_VENDOR             = "Addon.Vendor";           //$NON-NLS-1$
54     public static final String ADDON_VENDOR_ID          = "Addon.VendorId";         //$NON-NLS-1$
55     public static final String ADDON_VENDOR_DISPLAY     = "Addon.VendorDisplay";    //$NON-NLS-1$
56 
57     // DocPackage
58 
59     // ExtraPackage
60 
61     public static final String EXTRA_PATH               = "Extra.Path";             //$NON-NLS-1$
62     public static final String EXTRA_OLD_PATHS          = "Extra.OldPaths";         //$NON-NLS-1$
63     public static final String EXTRA_MIN_API_LEVEL      = "Extra.MinApiLevel";      //$NON-NLS-1$
64     public static final String EXTRA_PROJECT_FILES      = "Extra.ProjectFiles";     //$NON-NLS-1$
65     public static final String EXTRA_VENDOR             = "Extra.Vendor";           //$NON-NLS-1$
66     public static final String EXTRA_VENDOR_ID          = "Extra.VendorId";         //$NON-NLS-1$
67     public static final String EXTRA_VENDOR_DISPLAY     = "Extra.VendorDisplay";    //$NON-NLS-1$
68     public static final String EXTRA_NAME_DISPLAY       = "Extra.NameDisplay";      //$NON-NLS-1$
69 
70     // ILayoutlibVersion
71 
72     public static final String LAYOUTLIB_API            = "Layoutlib.Api";          //$NON-NLS-1$
73     public static final String LAYOUTLIB_REV            = "Layoutlib.Revision";     //$NON-NLS-1$
74 
75     // MinToolsPackage
76 
77     public static final String MIN_TOOLS_REV            = "Platform.MinToolsRev";   //$NON-NLS-1$
78 
79     // PlatformPackage
80 
81     public static final String PLATFORM_VERSION         = "Platform.Version";       //$NON-NLS-1$
82     public static final String PLATFORM_INCLUDED_ABI    = "Platform.Included.Abi";  //$NON-NLS-1$
83 
84     // PlatformToolPackage
85 
86     // SamplePackage
87 
88     public static final String SAMPLE_MIN_API_LEVEL     = "Sample.MinApiLevel";     //$NON-NLS-1$
89 
90     // SystemImagePackage
91 
92     public static final String SYS_IMG_ABI              = "SystemImage.Abi";        //$NON-NLS-1$
93 }
94