|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SdkParser
A parser able to parse the SDK and return valuable information to the build system.
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. |
Method Detail |
---|
void initParser(@NonNull java.lang.String target, @NonNull com.android.sdklib.repository.FullRevision buildToolRevision, @NonNull com.android.utils.ILogger logger)
target
- the target hash string.buildToolRevision
- the build tools revisionlogger
- a logger object.
java.lang.IllegalStateException
- if the SDK cannot parsed.IAndroidTarget.hashString()
@NonNull com.android.sdklib.IAndroidTarget getTarget()
java.lang.IllegalStateException
- if the sdk was not initialized.@NonNull com.android.sdklib.BuildToolInfo getBuildTools()
java.lang.IllegalStateException
- if the sdk was not initialized.@NonNull java.lang.String getAnnotationsJar()
@Nullable com.android.sdklib.repository.FullRevision getPlatformToolsRevision()
@NonNull java.io.File getZipAlign()
@NonNull java.io.File getAdb()
@NonNull java.util.List<java.io.File> getRepositories()
@Nullable java.io.File getNdkLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |