Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: sandbox/linux/BUILD.gn

Issue 559653004: Convert sandbox_bpf_unittest.cc to use bpf_dsl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit test for != Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sandbox/linux/bpf_dsl/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 declare_args() { 7 declare_args() {
8 compile_suid_client = is_linux 8 compile_suid_client = is_linux
9 9
10 compile_credentials = is_linux 10 compile_credentials = is_linux
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 "//testing/gtest", 86 "//testing/gtest",
87 ] 87 ]
88 88
89 if (compile_suid_client) { 89 if (compile_suid_client) {
90 sources += [ 90 sources += [
91 "suid/client/setuid_sandbox_client_unittest.cc", 91 "suid/client/setuid_sandbox_client_unittest.cc",
92 ] 92 ]
93 } 93 }
94 if (use_seccomp_bpf) { 94 if (use_seccomp_bpf) {
95 sources += [ 95 sources += [
96 "bpf_dsl/bpf_dsl_more_unittest.cc",
96 "bpf_dsl/bpf_dsl_unittest.cc", 97 "bpf_dsl/bpf_dsl_unittest.cc",
97 "bpf_dsl/cons_unittest.cc", 98 "bpf_dsl/cons_unittest.cc",
98 "seccomp-bpf-helpers/baseline_policy_unittest.cc", 99 "seccomp-bpf-helpers/baseline_policy_unittest.cc",
99 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc", 100 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc",
100 "seccomp-bpf/bpf_tests_unittest.cc", 101 "seccomp-bpf/bpf_tests_unittest.cc",
101 "seccomp-bpf/codegen_unittest.cc", 102 "seccomp-bpf/codegen_unittest.cc",
102 "seccomp-bpf/errorcode_unittest.cc", 103 "seccomp-bpf/errorcode_unittest.cc",
103 "seccomp-bpf/sandbox_bpf_unittest.cc",
104 "seccomp-bpf/syscall_iterator_unittest.cc", 104 "seccomp-bpf/syscall_iterator_unittest.cc",
105 "seccomp-bpf/syscall_unittest.cc", 105 "seccomp-bpf/syscall_unittest.cc",
106 ] 106 ]
107 } 107 }
108 if (compile_credentials) { 108 if (compile_credentials) {
109 sources += [ 109 sources += [
110 "services/credentials_unittest.cc", 110 "services/credentials_unittest.cc",
111 "services/unix_domain_socket_unittest.cc", 111 "services/unix_domain_socket_unittest.cc",
112 ] 112 ]
113 } 113 }
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 # 'type': 'none', 307 # 'type': 'none',
308 # 'variables': { 308 # 'variables': {
309 # 'test_suite_name': 'sandbox_linux_jni_unittests', 309 # 'test_suite_name': 'sandbox_linux_jni_unittests',
310 # }, 310 # },
311 # 'dependencies': [ 311 # 'dependencies': [
312 # 'sandbox_linux_jni_unittests', 312 # 'sandbox_linux_jni_unittests',
313 # ], 313 # ],
314 # 'includes': [ '../../build/apk_test.gypi' ], 314 # 'includes': [ '../../build/apk_test.gypi' ],
315 # } 315 # }
316 } 316 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/bpf_dsl/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698