1# Copyright 2019 Google LLC 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# sandboxed_api/sandbox2/examples/tools:sandbox2tool 16add_executable(sandbox2_sandbox2tool 17 sandbox2tool.cc 18) 19set_target_properties(sandbox2_sandbox2tool PROPERTIES OUTPUT_NAME sandbox2tool) 20add_executable(sandbox2::sandbox2tool ALIAS sandbox2_sandbox2tool) 21target_link_libraries(sandbox2_sandbox2tool PRIVATE 22 absl::check 23 absl::flags 24 absl::flags_parse 25 absl::flags_usage 26 absl::log 27 absl::log_globals 28 absl::log_initialize 29 absl::log_severity 30 absl::strings 31 absl::time 32 sandbox2::allow_all_syscalls 33 sandbox2::bpf_helper 34 sandbox2::sandbox2 35 sandbox2::util 36 sapi::base 37) 38