sandboxed-api/sandboxed_api
Christian Blichmann d6b8e0b3e3 CMake: Fix inclusion and paths for external embedding
When using SAPI from an external project via CMake, the small zlib patch
cannot be found during the config phase.

This change also fixes an oversight in that the tests depend on some of
the example code.

Regardless embedding code should set `SAPI_ENABLE_EXAMPLES` to `OFF`.
Disabling tests by setting `SAPI_ENABLE_TESTS` to `OFF` stays optional.

PiperOrigin-RevId: 311290454
Change-Id: Ibe105895859b793b20f47c89b1a9e11cbfef2e2f
2020-05-13 02:09:33 -07:00
..
bazel Use common repository prefix everywhere 2020-05-11 16:51:53 +02:00
docs Internal change. 2020-03-19 09:58:28 -07:00
examples CMake: Fix inclusion and paths for external embedding 2020-05-13 02:09:33 -07:00
sandbox2 Add zlib as dependency for examples 2020-04-30 04:57:33 -07:00
tools/generator2 Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
util Update StatusOr<> and tests 2020-04-28 06:12:58 -07:00
BUILD.bazel Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
call.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
client.cc Cleanup calls to sapi::StatusOr<>::ValueOrDie() 2020-04-02 07:42:45 -07:00
CMakeLists.txt Fix path to generated proto sources when embedding 2020-03-18 18:47:02 +01:00
embed_file.cc Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
embed_file.h Replace deprecated thread annotations macros. 2020-01-30 05:06:55 -08:00
file_toc.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
lenval_core.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
proto_arg.proto Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
proto_helper.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
rpcchannel.cc Cleanup calls to sapi::StatusOr<>::ValueOrDie() 2020-04-02 07:42:45 -07:00
rpcchannel.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
sandbox.cc Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
sandbox.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
sapi_test.cc Cleanup calls to sapi::StatusOr<>::ValueOrDie() 2020-04-02 07:42:45 -07:00
transaction.cc Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
transaction.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_abstract.cc Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_abstract.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_array.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_int.cc Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_int.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_lenval.cc Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_lenval.h Replace sapi::Status with absl::Status 2020-02-27 09:24:12 -08:00
var_pointable.cc Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_pointable.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_proto.h Cleanup calls to sapi::StatusOr<>::ValueOrDie() 2020-04-02 07:42:45 -07:00
var_ptr.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_reg.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_struct.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_type.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_void.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
vars.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00