Commit Graph

26 Commits

Author SHA1 Message Date
Christian Blichmann
51799f99ae Introduce a transitional logging utility library
Instead of calling `google::InitGoogleLogging()` directly, introduce an
indirection via a new utility library. After this change, Sandboxed API
should consistently use `sapi::InitLogging()` everywhere.

For now, `sapi::InitLogging()` simply calls its glog equivalent. However,
this enables us to migrate away from the gflags dependency and use Abseil
flags. Once a follow-up change lands, `sapi::InitLogging()` will instead
initialize the google logging library with flags defined from Aseil.

Later still, once Abseil releases logging, we can then drop the glog
dependency entirely.

PiperOrigin-RevId: 445363592
Change-Id: Ia23a7dc88b8ffe65a422ea4d5233bba7bdd1303a
2022-04-29 02:14:06 -07:00
Christian Blichmann
839914d6dd cmake: Rename build options to follow Abseil naming
`BUILD_TESTING` is a CMake provided option and we should use similar naming,
just like how Abseil does it.

- `SAPI_ENABLE_TESTS` -> `SAPI_BUILD_TESTING`
- `SAPI_ENABLE_CONTRIB_TESTS` -> `SAPI_CONTRIB_BUILD_TESTING`
- `SAPI_ENABLE_EXAMPLES` -> `SAPI_BUILD_EXAMPLES`

Drive-by:
- Fix option name in GitHub action
PiperOrigin-RevId: 443305932
Change-Id: Ice2b42be1229a0f9ae7c2ceda9ce87187baf22c4
2022-04-21 01:17:39 -07:00
Sandboxed API Team
e9c041f0c2 [Cleanup] Fix apache license url
PiperOrigin-RevId: 429974822
Change-Id: Id07aa9baf374458b9ff789fc93eff2b51d77917c
2022-02-20 23:50:29 -08:00
Christian Blichmann
d451478e26 Change license link to HTTPS URL
PiperOrigin-RevId: 424811734
Change-Id: If5ea692edc56ddc9c99fd478673df41c0246e9cc
2022-01-28 01:39:09 -08:00
Sandboxed API Team
ea379ef4d6 Cleans up statusor.h includes.
PiperOrigin-RevId: 339050213
Change-Id: Iea5747f907b294503cdb37e1c25cf787c7e83dcf
2020-10-26 09:08:41 -07:00
Katarzyna Miernikiewicz
8f8796b320 changed sapi::StatusOr to absl::StatusOr 2020-09-25 12:00:52 +00:00
Copybara-Service
d4274251a6 Merge pull request #50 from Manwi23:master
PiperOrigin-RevId: 332214390
Change-Id: If9e87dc52cf1e5e2266135c38b6c4429f7f78e5f
2020-09-17 05:28:19 -07:00
Katarzyna Miernikiewicz
71e6237cf7 cast changes 2020-09-11 16:35:52 +00:00
Katarzyna Miernikiewicz
490bc569ed changed copying files to patching 2020-09-01 11:06:12 +00:00
Katarzyna Miernikiewicz
28089de353 workaround to avoid manually copying library files 2020-08-28 15:27:23 +00:00
Katarzyna Miernikiewicz
2c50bea22c more style changes 2020-08-27 08:46:12 +00:00
Katarzyna Miernikiewicz
1b0fbc89bb style fix 2020-08-27 08:39:59 +00:00
Katarzyna Miernikiewicz
4f80af5d1c minor changes 2020-08-27 08:38:57 +00:00
Katarzyna Miernikiewicz
88844fc958 changed README.md 2020-08-26 15:13:37 +00:00
Katarzyna Miernikiewicz
9f120598c1 added requested changes 2020-08-26 12:17:18 +00:00
Katarzyna Miernikiewicz
ba88cd3499 changed VLA to vectors 2020-08-25 14:53:53 +00:00
Katarzyna Miernikiewicz
032053d55d minor fix 2020-08-25 10:20:00 +00:00
Katarzyna Miernikiewicz
050f0af19a minor change 2020-08-25 09:50:19 +00:00
Katarzyna Miernikiewicz
6554f635fc some of the requested changes made 2020-08-24 15:01:42 +00:00
Katarzyna Miernikiewicz
5598690320 added comments; added Google formatting style 2020-08-14 10:38:27 +00:00
Katarzyna Miernikiewicz
73e6a27b14 fixed typo 2020-08-12 11:59:31 +00:00
Katarzyna Miernikiewicz
785de90c80 Openjpeg sandboxed 2020-08-12 11:50:11 +00:00
Katarzyna Miernikiewicz
57fa728e4b fixed typos 2020-08-12 11:48:40 +00:00
Katarzyna Miernikiewicz
89ef35d4c3 Openjpeg decompress sandboxed 2020-08-12 11:37:59 +00:00
Katarzyna Miernikiewicz
d0f638de4c fixed typo 2020-08-12 11:26:55 +00:00
Katarzyna Miernikiewicz
48144bb100 initial openjpeg commit 2020-08-12 11:24:30 +00:00