| Index: sandbox/linux/BUILD.gn
|
| diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
|
| index a1a77204f5f370a1a0c65c19a32b084e7e541b28..d632bd4fafbb67d1a2dc1501671f8f0893a63468 100644
|
| --- a/sandbox/linux/BUILD.gn
|
| +++ b/sandbox/linux/BUILD.gn
|
| @@ -117,13 +117,16 @@ source_set("sandbox_linux_unittests_sources") {
|
| "bpf_dsl/bpf_dsl_unittest.cc",
|
| "bpf_dsl/codegen_unittest.cc",
|
| "bpf_dsl/cons_unittest.cc",
|
| + "bpf_dsl/errorcode_unittest.cc",
|
| "bpf_dsl/syscall_set_unittest.cc",
|
| + "bpf_dsl/test_trap_registry.cc",
|
| + "bpf_dsl/test_trap_registry.h",
|
| + "bpf_dsl/test_trap_registry_unittest.cc",
|
| "integration_tests/bpf_dsl_seccomp_unittest.cc",
|
| "integration_tests/seccomp_broker_process_unittest.cc",
|
| "seccomp-bpf-helpers/baseline_policy_unittest.cc",
|
| "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc",
|
| "seccomp-bpf/bpf_tests_unittest.cc",
|
| - "seccomp-bpf/errorcode_unittest.cc",
|
| "seccomp-bpf/sandbox_bpf_unittest.cc",
|
| "seccomp-bpf/syscall_unittest.cc",
|
| "seccomp-bpf/trap_unittest.cc",
|
| @@ -146,6 +149,15 @@ source_set("sandbox_linux_unittests_sources") {
|
| }
|
| }
|
|
|
| +# TODO(GYP): Delete this after we've converted everything to GN.
|
| +# The _run targets exist only for compatibility w/ GYP.
|
| +group("sandbox_linux_unittests_run") {
|
| + testonly = true
|
| + deps = [
|
| + ":sandbox_linux_unittests",
|
| + ]
|
| +}
|
| +
|
| # The main sandboxing test target.
|
| test("sandbox_linux_unittests") {
|
| deps = [
|
| @@ -176,6 +188,8 @@ component("seccomp_bpf") {
|
| "bpf_dsl/cons.h",
|
| "bpf_dsl/dump_bpf.cc",
|
| "bpf_dsl/dump_bpf.h",
|
| + "bpf_dsl/errorcode.cc",
|
| + "bpf_dsl/errorcode.h",
|
| "bpf_dsl/linux_syscall_ranges.h",
|
| "bpf_dsl/policy.cc",
|
| "bpf_dsl/policy.h",
|
| @@ -189,8 +203,6 @@ component("seccomp_bpf") {
|
| "bpf_dsl/verifier.h",
|
| "seccomp-bpf/die.cc",
|
| "seccomp-bpf/die.h",
|
| - "seccomp-bpf/errorcode.cc",
|
| - "seccomp-bpf/errorcode.h",
|
| "seccomp-bpf/sandbox_bpf.cc",
|
| "seccomp-bpf/sandbox_bpf.h",
|
| "seccomp-bpf/syscall.cc",
|
|
|