mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
licence added
This commit is contained in:
parent
78b8e130d7
commit
9f0bdf1c63
|
@ -32,7 +32,7 @@ target_link_libraries(jsonnet_helper
|
|||
libjsonnet_for_binaries
|
||||
)
|
||||
|
||||
set(SAPI_ROOT "/usr/local/google/home/kasiamm/sandboxed-api" CACHE PATH "Path to the Sandboxed API source tree")
|
||||
set(SAPI_ROOT "../.." CACHE PATH "Path to the Sandboxed API source tree")
|
||||
set(SAPI_ENABLE_EXAMPLES OFF CACHE BOOL "")
|
||||
set(SAPI_ENABLE_TESTS OFF CACHE BOOL "")
|
||||
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
|
||||
#target_include_directories(jsonnet_helper PUBLIC
|
||||
# "${CMAKE_CURRENT_SOURCE_DIR}/jsonnet"
|
||||
# "${PROJECT_BINARY_DIR}"
|
||||
#)
|
||||
# Copyright 2020 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http:#www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
add_executable(jsonnet_sandboxed
|
||||
jsonnet_example.cc
|
||||
|
|
|
@ -25,7 +25,6 @@ class JsonnetSapiSandbox : public JsonnetSandbox {
|
|||
public:
|
||||
explicit JsonnetSapiSandbox(std::string in_file, std::string out_file)
|
||||
: in_file_(std::move(in_file)), out_file_(std::move(out_file)) {}
|
||||
// explicit JsonnetSapiSandbox() {};
|
||||
|
||||
std::unique_ptr<sandbox2::Policy> ModifyPolicy(
|
||||
sandbox2::PolicyBuilder*) override {
|
||||
|
|
Loading…
Reference in New Issue
Block a user