blob: 3818848ad86051938a4a8c7fcc6276a5f0491e60 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/package.gni")
import("//src/sys/appmgr/integration_tests/sandbox/sandbox_test_package.gni")
group("sandbox") {
testonly = true
deps = [
":has_pkg",
":path-traversal-escape",
"features",
"services",
]
}
source_set("namespace_test") {
testonly = true
sources = [
"namespace_test.cc",
"namespace_test.h",
]
public_deps = [
"//garnet/public/lib/gtest",
"//sdk/fidl/fuchsia.io:fuchsia.io_llcpp",
"//sdk/lib/fidl/cpp",
"//sdk/lib/sys/cpp",
"//sdk/lib/sys/cpp/testing:integration",
"//third_party/googletest:gtest",
]
}
sandbox_test_package("has_pkg") {
sources = [ "has_pkg.cc" ]
deps = [
"//src/lib/fxl/test:gtest_main",
"//src/sys/appmgr/integration_tests/sandbox:namespace_test",
]
environments = basic_envs
}
sandbox_test_package("path-traversal-escape") {
sources = [ "path_traversal_escape.cc" ]
deps = [
"//src/lib/fxl/test:gtest_main",
"//src/sys/appmgr/integration_tests/sandbox:namespace_test",
]
environments = basic_envs
}