From 4a8fcca9a387cdf9811ddaeadccd3239e48c427a Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 29 Nov 2023 15:38:05 +0100 Subject: 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. --- src/buildtool/execution_api/common/TARGETS | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/buildtool/execution_api/common/TARGETS') 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"] -- cgit v1.2.3