diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-11-29 15:38:05 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-11-30 14:50:41 +0100 |
commit | 4a8fcca9a387cdf9811ddaeadccd3239e48c427a (patch) | |
tree | 057de8bf439a919586dbbc9e55c716ebe614b063 /src/buildtool/execution_api/common/TARGETS | |
parent | d51e7da74e902cbd5931b3429632be6feca29327 (diff) | |
download | justbuild-4a8fcca9a387cdf9811ddaeadccd3239e48c427a.tar.gz |
remote API: support uploading files from the file system
Allow implementations to have a specialized way of uploading a file
owned by the build process to the applicable cas, both as file, as
well as as tree object (in native mode).
If no implementation is provided, the default is to read the file
into memory and use the Upload method.
Diffstat (limited to 'src/buildtool/execution_api/common/TARGETS')
-rw-r--r-- | src/buildtool/execution_api/common/TARGETS | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/common/TARGETS b/src/buildtool/execution_api/common/TARGETS index 4a9c60e1..1d0431f0 100644 --- a/src/buildtool/execution_api/common/TARGETS +++ b/src/buildtool/execution_api/common/TARGETS @@ -7,18 +7,20 @@ , "execution_action.hpp" , "execution_response.hpp" ] + , "srcs": ["execution_api.cpp"] , "deps": [ ["@", "gsl", "", "gsl"] , ["src/buildtool/common", "common"] , ["src/buildtool/crypto", "hash_function"] , ["src/buildtool/execution_api/bazel_msg", "bazel_msg"] , ["src/buildtool/execution_api/bazel_msg", "bazel_msg_factory"] - , ["src/utils/cpp", "hex_string"] - , ["src/utils/cpp", "gsl"] + , ["src/buildtool/file_system", "file_system_manager"] + , ["src/buildtool/file_system", "object_type"] , ["src/buildtool/logging", "logging"] + , ["src/utils/cpp", "gsl"] + , ["src/utils/cpp", "hex_string"] ] , "stage": ["src", "buildtool", "execution_api", "common"] - , "private-deps": [["src/buildtool/file_system", "object_type"]] } , "bytestream-common": { "type": ["@", "rules", "CC", "library"] |