sandboxed-api/sandboxed_api/sandbox2/util
Christian Blichmann 24c3e34344 Implement a GetDataDependencyFilepath() for CMake (non-Bazel really).
This code assumes, like Bazel's runfiles that the data dependency to access
exists in the same sub-tree as the binary:

WORKSPACE
+- sandboxed_api/sandbox2/examples/crc4
                                   +- crc4bin
                                   +- crc4sandbox

The code requires the directory structure to exist, so that in the example
above, crc4sandbox can use
  GetDataDependencyFilepath("sandboxed_api/sandbox2/examples/crc4/crc4bin")

regardless of how it was called.

PiperOrigin-RevId: 251834480
Change-Id: I6470b62ce9b403297116481a0c17c070992f2e81
2019-06-06 05:44:32 -07:00
..
testdata Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
bpf_helper.c Formatting fixes. 2019-03-19 03:41:32 -07:00
bpf_helper.h Formatting fixes. 2019-03-19 03:41:32 -07:00
BUILD.bazel Internal change 2019-06-05 00:26:14 -07:00
CMakeLists.txt Implement a GetDataDependencyFilepath() for CMake (non-Bazel really). 2019-06-06 05:44:32 -07:00
file_helpers_test.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
file_helpers.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
file_helpers.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
fileops_test.cc Internal Change 2019-06-05 07:24:16 -07:00
fileops.cc Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
fileops.h Delete copy constructor of FDCloser 2019-04-12 07:54:31 -07:00
maps_parser_test.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
maps_parser.cc Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
maps_parser.h Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
minielf_test.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
minielf.cc minielf: Increase maximum amount of symbols loaded 2019-04-16 03:00:28 -07:00
minielf.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
path_test.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
path.cc Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
path.h Formatting fixes. 2019-03-19 03:41:32 -07:00
runfiles_nobazel.cc Implement a GetDataDependencyFilepath() for CMake (non-Bazel really). 2019-06-06 05:44:32 -07:00
runfiles.cc Internal change 2019-06-05 00:26:14 -07:00
runfiles.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
strerror_test.cc Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
strerror.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
strerror.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
temp_file_test.cc Make StatusMatcher more flexible 2019-04-23 10:30:45 -07:00
temp_file.cc Make StatusMatcher more flexible 2019-04-23 10:30:45 -07:00
temp_file.h Make StatusMatcher more flexible 2019-04-23 10:30:45 -07:00