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/crc4:crc4sandbox 16add_executable(sandbox2_crc4sandbox 17 crc4sandbox.cc 18) 19add_executable(sandbox2::crc4sandbox ALIAS sandbox2_crc4sandbox) 20add_dependencies(sandbox2_crc4sandbox 21 sandbox2::crc4bin 22) 23target_link_libraries(sandbox2_crc4sandbox PRIVATE 24 absl::flags 25 absl::flags_parse 26 absl::log 27 absl::log_globals 28 absl::log_initialize 29 absl::log_severity 30 sandbox2::allowlists_namespaces 31 sandbox2::bpf_helper 32 sandbox2::comms 33 sapi::runfiles 34 sandbox2::sandbox2 35 sapi::base 36) 37 38# sandboxed_api/sandbox2/examples/crc4:crc4bin 39add_executable(sandbox2_crc4bin 40 crc4bin.cc 41) 42set_target_properties(sandbox2_crc4bin PROPERTIES OUTPUT_NAME crc4bin) 43add_executable(sandbox2::crc4bin ALIAS sandbox2_crc4bin) 44target_link_libraries(sandbox2_crc4bin PRIVATE 45 absl::core_headers 46 absl::flags 47 absl::flags_parse 48 absl::strings 49 sandbox2::client 50 sandbox2::comms 51 sandbox2::util 52 sapi::base 53) 54