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_VENDOR = "Addon.Vendor"; //$NON-NLS-1$ 51 52 // DocPackage 53 54 // ExtraPackage 55 56 public static final String EXTRA_PATH = "Extra.Path"; //$NON-NLS-1$ 57 public static final String EXTRA_OLD_PATHS = "Extra.OldPaths"; //$NON-NLS-1$ 58 public static final String EXTRA_VENDOR = "Extra.Vendor"; //$NON-NLS-1$ 59 public static final String EXTRA_MIN_API_LEVEL = "Extra.MinApiLevel"; //$NON-NLS-1$ 60 public static final String EXTRA_PROJECT_FILES = "Extra.ProjectFiles"; //$NON-NLS-1$ 61 62 // ILayoutlibVersion 63 64 public static final String LAYOUTLIB_API = "Layoutlib.Api"; //$NON-NLS-1$ 65 public static final String LAYOUTLIB_REV = "Layoutlib.Revision"; //$NON-NLS-1$ 66 67 // MinToolsPackage 68 69 public static final String MIN_TOOLS_REV = "Platform.MinToolsRev"; //$NON-NLS-1$ 70 71 // PlatformPackage 72 73 public static final String PLATFORM_VERSION = "Platform.Version"; //$NON-NLS-1$ 74 public static final String PLATFORM_INCLUDED_ABI = "Platform.Included.Abi"; //$NON-NLS-1$ 75 76 // PlatformToolPackage 77 78 // SamplePackage 79 80 public static final String SAMPLE_MIN_API_LEVEL = "Sample.MinApiLevel"; //$NON-NLS-1$ 81 82 // SystemImagePackage 83 84 public static final String SYS_IMG_ABI = "SystemImage.Abi"; //$NON-NLS-1$ 85 } 86