| Index: sandbox/linux/BUILD.gn
|
| diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
|
| index 0f8f86a43c5c45b487dd8283fe135034a8334a09..ff4a238fe1e8bec37d38e7ebdb58bc3ac5356069 100644
|
| --- a/sandbox/linux/BUILD.gn
|
| +++ b/sandbox/linux/BUILD.gn
|
| @@ -71,6 +71,7 @@ test("sandbox_linux_unittests") {
|
| "services/syscall_wrappers_unittest.cc",
|
| "services/thread_helpers_unittests.cc",
|
| "services/yama_unittests.cc",
|
| + "syscall_broker/broker_file_permission_unittest.cc",
|
| "syscall_broker/broker_process_unittest.cc",
|
| "tests/main.cc",
|
| "tests/scoped_temporary_file.cc",
|
| @@ -108,6 +109,7 @@ test("sandbox_linux_unittests") {
|
| "seccomp-bpf/bpf_tests_unittest.cc",
|
| "seccomp-bpf/codegen_unittest.cc",
|
| "seccomp-bpf/errorcode_unittest.cc",
|
| + "seccomp-bpf/sandbox_bpf_unittest.cc",
|
| "seccomp-bpf/syscall_iterator_unittest.cc",
|
| "seccomp-bpf/syscall_unittest.cc",
|
| ]
|
| @@ -115,6 +117,7 @@ test("sandbox_linux_unittests") {
|
| if (compile_credentials) {
|
| sources += [
|
| "services/credentials_unittest.cc",
|
| + "services/proc_util_unittest.cc",
|
| "services/unix_domain_socket_unittest.cc",
|
| ]
|
| }
|
| @@ -173,6 +176,7 @@ component("seccomp_bpf") {
|
| defines = [ "SANDBOX_IMPLEMENTATION" ]
|
|
|
| deps = [
|
| + ":sandbox_services",
|
| ":sandbox_services_headers",
|
| "//base",
|
| ]
|
| @@ -235,6 +239,8 @@ component("sandbox_services") {
|
| "syscall_broker/broker_client.cc",
|
| "syscall_broker/broker_client.h",
|
| "syscall_broker/broker_common.h",
|
| + "syscall_broker/broker_file_permission.cc",
|
| + "syscall_broker/broker_file_permission.h",
|
| "syscall_broker/broker_host.cc",
|
| "syscall_broker/broker_host.h",
|
| "syscall_broker/broker_policy.cc",
|
| @@ -249,6 +255,8 @@ component("sandbox_services") {
|
| sources += [
|
| "services/credentials.cc",
|
| "services/credentials.h",
|
| + "services/proc_util.cc",
|
| + "services/proc_util.h",
|
| ]
|
| # For capabilities.cc.
|
| configs += [ "//build/config/linux:libcap" ]
|
|
|