sandboxed-api/sandboxed_api
Christian Blichmann 4b2c730c5e Bazel: Make generator configurable
This change introduces an experimental `generator_version` attribute to the
`sapi_library()` rule. Version `1` will select the current interface
generator, which is based on libclang and Python. Setting the attribute to
version `2`, will select the newer interface generator written in C++ that
uses a full clang compiler frontend for parsing. Both emit equivalent header
output, differences in parsing and/or edge cases notwithstanding.

The default, as of now, is still the old version `1` generator.

Note: CMake allows to select the new interface generator globally by setting
`SAPI_ENABLE_GENERATOR`.
PiperOrigin-RevId: 438765013
Change-Id: I69c49a6bcf1751724edb0bce5c3b2beea2097138
2022-04-01 01:34:48 -07:00
..
bazel Bazel: Make generator configurable 2022-04-01 01:34:48 -07:00
docs Update references to the new documentation 2021-12-14 09:03:29 -08:00
examples Migration of remaining protobufs from proto2 to proto3 2022-03-16 00:43:46 -07:00
sandbox2 Extend ValidateInterpreter with Android_Arm64 interpreter 2022-03-30 09:45:58 -07:00
tools Bazel: Make generator configurable 2022-04-01 01:34:48 -07:00
util Enable RAW logging on Android via logcat 2022-03-24 09:04:44 -07:00
BUILD.bazel Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
call.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
client.cc Change to proto2::MessageLite and resolve reflextion for mobile builds 2022-03-03 04:48:30 -08:00
CMakeLists.txt Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
config.h Extend config.h to support HWSan and LSan 2022-03-03 07:12:50 -08:00
embed_file.cc Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
embed_file.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
file_toc.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
lenval_core.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
proto_arg.proto Migration of remaining protobufs from proto2 to proto3 2022-03-16 00:43:46 -07:00
proto_helper.cc Change to proto2::MessageLite and resolve reflextion for mobile builds 2022-03-03 04:48:30 -08:00
proto_helper.h Change to proto2::MessageLite and resolve reflextion for mobile builds 2022-03-03 04:48:30 -08:00
rpcchannel.cc Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
rpcchannel.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
sandbox.cc Fix a race when terminating sandbox from another thread 2022-03-23 03:35:28 -07:00
sandbox.h Fix a race when terminating sandbox from another thread 2022-03-23 03:35:28 -07:00
sapi_test.cc Fix a race when terminating sandbox from another thread 2022-03-23 03:35:28 -07:00
testing.cc Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
testing.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
transaction.cc Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
transaction.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_abstract.cc Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_abstract.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_array.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_int.cc Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_int.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_lenval.cc Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_lenval.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_proto.h Change to proto2::MessageLite and resolve reflextion for mobile builds 2022-03-03 04:48:30 -08:00
var_ptr.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_reg.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_struct.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_type.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
var_void.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
vars.h Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00