Android-x86
Fork
Faire un don


Commit MetaInfo

Révision27cb7e45ee1a7b1e0f5ca80b655178c588e6ec75 (tree)
l'heure2011-10-22 11:43:16
AuteurXavier Ducrohet <xav@andr...>
CommiterAndroid (Google) Code Review

Message de Log

Merge "Platform now returns the new location of the renderscript includes."

Change Summary

Modification

--- a/sdkmanager/libs/sdklib/src/com/android/sdklib/IAndroidTarget.java
+++ b/sdkmanager/libs/sdklib/src/com/android/sdklib/IAndroidTarget.java
@@ -74,14 +74,18 @@ public interface IAndroidTarget extends Comparable<IAndroidTarget> {
7474 @Deprecated
7575 public final static int DX = 22;
7676 /** OS Path to the target's version of the dx.jar file.<br>
77- * This is deprecated as dx.jar is now in the platform tools and not in the platform.. */
77+ * This is deprecated as dx.jar is now in the platform tools and not in the platform. */
7878 @Deprecated
7979 public final static int DX_JAR = 23;
8080 /** OS Path to the "ant" folder which contains the ant build rules (ver 2 and above) */
8181 public final static int ANT = 24;
82- /** OS Path to the Renderscript include folder. */
82+ /** OS Path to the Renderscript include folder.
83+ * This is deprecated as this is now in the platform tools and not in the platform. */
84+ @Deprecated
8385 public final static int ANDROID_RS = 25;
84- /** OS Path to the Renderscript(clang) include folder. */
86+ /** OS Path to the Renderscript(clang) include folder.
87+ * This is deprecated as this is now in the platform tools and not in the platform. */
88+ @Deprecated
8589 public final static int ANDROID_RS_CLANG = 26;
8690
8791 /**
--- a/sdkmanager/libs/sdklib/src/com/android/sdklib/PlatformTarget.java
+++ b/sdkmanager/libs/sdklib/src/com/android/sdklib/PlatformTarget.java
@@ -94,8 +94,6 @@ final class PlatformTarget implements IAndroidTarget {
9494 mPaths.put(ANDROID_JAR, mRootFolderOsPath + SdkConstants.FN_FRAMEWORK_LIBRARY);
9595 mPaths.put(SOURCES, mRootFolderOsPath + SdkConstants.FD_ANDROID_SOURCES);
9696 mPaths.put(ANDROID_AIDL, mRootFolderOsPath + SdkConstants.FN_FRAMEWORK_AIDL);
97- mPaths.put(ANDROID_RS, mRootFolderOsPath + SdkConstants.OS_FRAMEWORK_RS);
98- mPaths.put(ANDROID_RS_CLANG, mRootFolderOsPath + SdkConstants.OS_FRAMEWORK_RS_CLANG);
9997 mPaths.put(SAMPLES, mRootFolderOsPath + SdkConstants.OS_PLATFORM_SAMPLES_FOLDER);
10098 mPaths.put(SKINS, mRootFolderOsPath + SdkConstants.OS_SKINS_FOLDER);
10199 mPaths.put(TEMPLATES, mRootFolderOsPath + SdkConstants.OS_PLATFORM_TEMPLATES_FOLDER);
@@ -128,6 +126,10 @@ final class PlatformTarget implements IAndroidTarget {
128126 SdkConstants.FN_DX);
129127 mPaths.put(DX_JAR, sdkOsPath + SdkConstants.OS_SDK_PLATFORM_TOOLS_LIB_FOLDER +
130128 SdkConstants.FN_DX_JAR);
129+ mPaths.put(ANDROID_RS, sdkOsPath + SdkConstants.OS_SDK_PLATFORM_TOOLS_FOLDER +
130+ SdkConstants.OS_FRAMEWORK_RS);
131+ mPaths.put(ANDROID_RS_CLANG, sdkOsPath + SdkConstants.OS_SDK_PLATFORM_TOOLS_FOLDER +
132+ SdkConstants.OS_FRAMEWORK_RS_CLANG);
131133 }
132134
133135 /**
Afficher sur ancien navigateur de dépôt.