use of com.google.devtools.build.lib.util.Fingerprint in project bazel by bazelbuild.
the class ObjcCompileAction method computeKey.
@Override
public String computeKey() {
Fingerprint f = new Fingerprint();
f.addString(GUID);
f.addString(super.computeKey());
f.addBoolean(dotdFile == null || dotdFile.artifact() == null);
f.addBoolean(dotdPruningPlan == HeaderDiscovery.DotdPruningMode.USE);
f.addBoolean(headersListFile == null);
if (dotdFile != null) {
f.addPath(dotdFile.getSafeExecPath());
}
return f.hexDigestAndReset();
}
use of com.google.devtools.build.lib.util.Fingerprint in project bazel by bazelbuild.
the class GenericBuildInfoPropertiesTranslator method computeKey.
@Override
public String computeKey() {
Fingerprint f = new Fingerprint();
f.addString(GUID);
f.addStringMap(translationKeys);
return f.hexDigestAndReset();
}
use of com.google.devtools.build.lib.util.Fingerprint in project bazel by bazelbuild.
the class WriteBuildInfoPropertiesAction method computeKey.
@Override
protected String computeKey() {
Fingerprint f = new Fingerprint();
f.addString(GUID);
f.addString(keyTranslations.computeKey());
f.addBoolean(includeVolatile);
f.addBoolean(includeNonVolatile);
return f.hexDigestAndReset();
}
use of com.google.devtools.build.lib.util.Fingerprint in project bazel by bazelbuild.
the class SolibSymlinkAction method computeKey.
@Override
protected String computeKey() {
Fingerprint f = new Fingerprint();
f.addPath(symlink.getPath());
if (target != null) {
f.addPath(target);
}
return f.hexDigestAndReset();
}
use of com.google.devtools.build.lib.util.Fingerprint in project bazel by bazelbuild.
the class ExtraActionInfoFileWriteAction method computeKey.
@Override
protected String computeKey() {
Fingerprint f = new Fingerprint();
f.addString(UUID);
f.addString(shadowedAction.getKey());
f.addBytes(shadowedAction.getExtraActionInfo().build().toByteArray());
return f.hexDigestAndReset();
}
Aggregations