diff options
author | Sergei Trofimov <sergei.trofimov@arm.com> | 2018-05-24 14:51:04 +0100 |
---|---|---|
committer | Marc Bonnici <marc.bonnici@arm.com> | 2018-05-25 10:21:06 +0100 |
commit | 2ff06af632712d0ba28a15ae68c45f5c64725d3c (patch) | |
tree | 02398ad43c10feadb7c5fe0ba35fb02d3aedd7f6 /wa/workloads/openssl | |
parent | e5e8406e1f9481b6ebd0fba96d2f086f7ae47fba (diff) |
fw/execution: record resource hashes in metadata
As part of resolving a resource, record its MD5 hash in the output
metadata. In order to enable this, resource resolution is now done via
the context, rather than directly via the ResourceResolver (in order not
to introduce a context dependency in the Gui object, context now
emulates the resolver interface).
Diffstat (limited to 'wa/workloads/openssl')
-rw-r--r-- | wa/workloads/openssl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wa/workloads/openssl/__init__.py b/wa/workloads/openssl/__init__.py index 6ecbb81a..6a011389 100644 --- a/wa/workloads/openssl/__init__.py +++ b/wa/workloads/openssl/__init__.py @@ -62,7 +62,7 @@ class Openssl(Workload): Openssl.target_exe = 'openssl' else: resource = Executable(self, self.target.abi, 'openssl') - host_exe = context.resolver.get(resource) + host_exe = context.get_resource(resource) Openssl.target_exe = self.target.install(host_exe) def setup(self, context): |