sandboxed-api/sandboxed_api
Christian Blichmann 3c51348aaf Enable CMake projects to consume Sandboxed API via add_subdirectory()
This change moves away from a classical superbuild which downloads and builds
at build time. Instead, we now follow a "Fetch Content" workflow (available as
FetchContent in CMake 3.11+) and download dependencies at config time.

Rationale: Superbuild projects have the disadvantage that projects cannot
directly access their individual declared targets. This is not a problem with
regular libraries, as those are usually/supposed to be installed. With
Sandboxed API, this is not desirable, as it has dependencies like Abseil and
glog, which are almost always consumed by including their source tree using
add_subdirectory().

Fixes #10 and makes external embedding easier.

PiperOrigin-RevId: 260129870
Change-Id: I70f295f29a6e4fc8c330512c94b01ef10c017166
2019-07-26 05:51:08 -07:00
..
bazel Support empty package names in filewrapper tool 2019-07-25 07:36:57 -07:00
docs Fix documentation link to zlib example 2019-07-12 06:38:49 -07:00
examples Enable CMake projects to consume Sandboxed API via add_subdirectory() 2019-07-26 05:51:08 -07:00
sandbox2 Enable CMake projects to consume Sandboxed API via add_subdirectory() 2019-07-26 05:51:08 -07:00
tools/generator2 Make embedding the sandbox code the default 2019-07-12 04:07:11 -07:00
util Enable CMake projects to consume Sandboxed API via add_subdirectory() 2019-07-26 05:51:08 -07:00
BUILD.bazel Add dependencies on @com_google_absl//absl/base:log_severity 2019-07-23 00:31:55 -07:00
call.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
client.cc Use newer gflags namespace for command-line flags 2019-06-05 07:39:38 -07:00
CMakeLists.txt Enable CMake projects to consume Sandboxed API via add_subdirectory() 2019-07-26 05:51:08 -07:00
embed_file.cc Make embed_file use raw logging 2019-04-10 07:56:06 -07:00
embed_file.h Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
file_toc.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
lenval_core.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
proto_arg.proto Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
proto_helper.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
rpcchannel.cc Internal change 2019-04-23 10:42:14 -07:00
rpcchannel.h Make StatusMatcher more flexible 2019-04-23 10:30:45 -07:00
sandbox.cc Allow two madvise calls for asan & tsan builds. 2019-06-07 07:53:10 -07:00
sandbox.h Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
sapi_test.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
transaction.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
transaction.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_abstract.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_abstract.h Formatting fixes and include file hygiene. 2019-03-26 07:54:21 -07:00
var_array.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_int.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_int.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_lenval.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_lenval.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_pointable.cc Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_pointable.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_proto.h Add dependencies on @com_google_absl//absl/base:log_severity 2019-07-23 00:31:55 -07:00
var_ptr.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_reg.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_struct.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_type.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
var_void.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00
vars.h Sandboxed API OSS release. 2019-03-18 19:00:48 +01:00