|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.builder.PlatformSdkParser
public class PlatformSdkParser
Implementation of SdkParser
for the SDK prebuilds in the Android source tree.
Constructor Summary | |
---|---|
PlatformSdkParser(java.lang.String sdkLocation)
|
Method Summary | |
---|---|
java.io.File |
getAdb()
Returns the location of the adb tool. |
java.lang.String |
getAnnotationsJar()
Returns the location of the annotations jar for compilation targets that are <= 15. |
com.android.sdklib.BuildToolInfo |
getBuildTools()
Returns the BuildToolInfo |
java.io.File |
getNdkLocation()
|
com.android.sdklib.repository.FullRevision |
getPlatformToolsRevision()
Returns the revision of the installed platform tools component. |
java.util.List<java.io.File> |
getRepositories()
Returns the location of artifact repositories built-in the SDK. |
com.android.sdklib.IAndroidTarget |
getTarget()
Returns the compilation target |
java.io.File |
getZipAlign()
Returns the location of the zip align tool. |
void |
initParser(java.lang.String target,
com.android.sdklib.repository.FullRevision buildToolRevision,
com.android.utils.ILogger logger)
Inits the parser with a target hash string and a build tools FullRevision. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlatformSdkParser(@NonNull java.lang.String sdkLocation)
Method Detail |
---|
public void initParser(@NonNull java.lang.String target, @NonNull com.android.sdklib.repository.FullRevision buildToolRevision, @NonNull com.android.utils.ILogger logger)
SdkParser
initParser
in interface SdkParser
target
- the target hash string.buildToolRevision
- the build tools revisionlogger
- a logger object.IAndroidTarget.hashString()
@NonNull public com.android.sdklib.IAndroidTarget getTarget()
SdkParser
getTarget
in interface SdkParser
@NonNull public com.android.sdklib.BuildToolInfo getBuildTools()
SdkParser
getBuildTools
in interface SdkParser
@NonNull public java.lang.String getAnnotationsJar()
SdkParser
getAnnotationsJar
in interface SdkParser
@Nullable public com.android.sdklib.repository.FullRevision getPlatformToolsRevision()
SdkParser
getPlatformToolsRevision
in interface SdkParser
@NonNull public java.io.File getZipAlign()
SdkParser
getZipAlign
in interface SdkParser
@NonNull public java.io.File getAdb()
SdkParser
getAdb
in interface SdkParser
@NonNull public java.util.List<java.io.File> getRepositories()
SdkParser
getRepositories
in interface SdkParser
@Nullable public java.io.File getNdkLocation()
getNdkLocation
in interface SdkParser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |