sandboxed-api/oss-internship-2020/libtiff
Christian Blichmann dbaf95c724 Move utility code into sandboxed_api/util
This change should make it less confusing where utility code comes from.
Having it in two places made sense when we were debating whether to publish
Sandbox2 separately, but not any longer.

Follow-up changes will move `sandbox2/util.h` and rename the remaining
`sandbox2/util` folder.

PiperOrigin-RevId: 351601640
Change-Id: I6256845261f610e590c25e2c59851cc51da2d778
2021-01-13 09:25:52 -08:00
..
example Move utility code into sandboxed_api/util 2021-01-13 09:25:52 -08:00
test Move utility code into sandboxed_api/util 2021-01-13 09:25:52 -08:00
wrapper Move utility code into sandboxed_api/util 2021-01-13 09:25:52 -08:00
.gitignore from local repo to fork 2020-09-23 20:21:33 +00:00
CMakeLists.txt Merge pull request #56 from alexelex:master 2020-12-08 03:15:35 -08:00
README.md Merge pull request #56 from alexelex:master 2020-12-08 03:15:35 -08:00
sandboxed.h Merge pull request #56 from alexelex:master 2020-12-08 03:15:35 -08:00

sapi-libtiff

Copyright 2020 Google LLC.

Start use

You should make sure the libtiff submodule is cloned.

git clone --recursive https://github.com/alexelex/sapi-libtiff

Usage

build:

mkdir -p build && cd build && cmake .. -DSAPI_ROOT=$HOME/sapi_root -DBUILD_SHARED_LIBS=OFF

make -j 8

to run the sandboxed example:

./example/sandboxed absolute/path/to/project/dir

to run tests:

./test/tests

you also can use sandbox flags sandbox2_danger_danger_permit_all and sandbox2_danger_danger_permit_all_and_log