/** Returns the compilation target, if set. */ @NonNull public IAndroidTarget getTarget() { checkState(mTargetInfo != null, "Cannot call getTarget() before setTargetInfo() is called."); return mTargetInfo.getTarget(); }
/** * Returns the compilation target, if set. */ @Nullable public IAndroidTarget getTarget() { checkState(mTargetInfo != null, "Cannot call getTarget() before setTargetInfo() is called."); return mTargetInfo.getTarget(); }
/** * Returns whether the compilation target is a preview. */ public boolean isPreviewTarget() { checkState(mTargetInfo != null, "Cannot call isTargetAPreview() before setTargetInfo() is called."); return mTargetInfo.getTarget().getVersion().isPreview(); }
public String getTargetCodename() { checkState(mTargetInfo != null, "Cannot call getTargetCodename() before setTargetInfo() is called."); return mTargetInfo.getTarget().getVersion().getCodename(); }
/** * Returns whether the compilation target is a preview. */ public boolean isPreviewTarget() { checkState(mTargetInfo != null, "Cannot call isTargetAPreview() before setTargetInfo() is called."); return mTargetInfo.getTarget().getVersion().isPreview(); }
public String getTargetCodename() { checkState(mTargetInfo != null, "Cannot call getTargetCodename() before setTargetInfo() is called."); return mTargetInfo.getTarget().getVersion().getCodename(); }
private List<File> computeFilteredBootClasspath() { // computes and caches the filtered boot classpath. // Changes here should be applied to #computeFullClasspath() if (mBootClasspathFiltered == null) { checkState(mTargetInfo != null, "Cannot call getBootClasspath() before setTargetInfo() is called."); mBootClasspathFiltered = BootClasspathBuilder.computeFilteredClasspath( mTargetInfo.getTarget(), mLibraryRequests, mErrorReporter, mSdkInfo.getAnnotationsJar()); } return mBootClasspathFiltered; }
@NonNull private List<File> computeFullBootClasspath() { // computes and caches the full boot classpath. // Changes here should be applied to #computeFilteredClasspath() if (mBootClasspathAll == null) { checkState(mTargetInfo != null, "Cannot call getBootClasspath() before setTargetInfo() is called."); mBootClasspathAll = BootClasspathBuilder.computeFullBootClasspath( mTargetInfo.getTarget(), mSdkInfo.getAnnotationsJar()); } return mBootClasspathAll; }
"Cannot call compileAllAidlFiles() before setTargetInfo() is called."); IAndroidTarget target = mTargetInfo.getTarget(); BuildToolInfo buildToolInfo = mTargetInfo.getBuildTools();
"Cannot call compileAllAidlFiles() before setTargetInfo() is called."); IAndroidTarget target = mTargetInfo.getTarget(); BuildToolInfo buildToolInfo = mTargetInfo.getBuildTools();
"Cannot call compileAidlFile() before setTargetInfo() is called."); IAndroidTarget target = mTargetInfo.getTarget(); BuildToolInfo buildToolInfo = mTargetInfo.getBuildTools();
IAndroidTarget target = mTargetInfo.getTarget();
"Cannot call compileAidlFile() before setTargetInfo() is called."); IAndroidTarget target = mTargetInfo.getTarget(); BuildToolInfo buildToolInfo = mTargetInfo.getBuildTools();
mTargetInfo.getBuildTools(), mTargetInfo.getTarget(), mLogger);
aaptConfigBuilder.setAndroidTarget(mTargetInfo.getTarget()); aaptConfigBuilder.setLogger(mLogger);
IAndroidTarget androidTarget = androidBuilder.getTargetInfo().getTarget();
IAndroidTarget androidTarget = androidBuilder.getTargetInfo().getTarget();