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

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: Fix ARM build (maybe?) 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
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",
Jorge Lucangeli Obes 2014/09/12 20:34:51 MOAR UNITTESTS!!!1 =)
mdempsky 2014/09/12 21:10:46 I *almost* named it that. ;)
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/bpf_tests_unittest.cc", 100 "seccomp-bpf/bpf_tests_unittest.cc",
100 "seccomp-bpf/codegen_unittest.cc", 101 "seccomp-bpf/codegen_unittest.cc",
101 "seccomp-bpf/errorcode_unittest.cc", 102 "seccomp-bpf/errorcode_unittest.cc",
102 "seccomp-bpf/sandbox_bpf_unittest.cc",
103 "seccomp-bpf/syscall_iterator_unittest.cc", 103 "seccomp-bpf/syscall_iterator_unittest.cc",
104 "seccomp-bpf/syscall_unittest.cc", 104 "seccomp-bpf/syscall_unittest.cc",
105 ] 105 ]
106 } 106 }
107 if (compile_credentials) { 107 if (compile_credentials) {
108 sources += [ 108 sources += [
109 "services/credentials_unittest.cc", 109 "services/credentials_unittest.cc",
110 "services/unix_domain_socket_unittest.cc", 110 "services/unix_domain_socket_unittest.cc",
111 ] 111 ]
112 } 112 }
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 # 'type': 'none', 308 # 'type': 'none',
309 # 'variables': { 309 # 'variables': {
310 # 'test_suite_name': 'sandbox_linux_jni_unittests', 310 # 'test_suite_name': 'sandbox_linux_jni_unittests',
311 # }, 311 # },
312 # 'dependencies': [ 312 # 'dependencies': [
313 # 'sandbox_linux_jni_unittests', 313 # 'sandbox_linux_jni_unittests',
314 # ], 314 # ],
315 # 'includes': [ '../../build/apk_test.gypi' ], 315 # 'includes': [ '../../build/apk_test.gypi' ],
316 # } 316 # }
317 } 317 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/bpf_dsl/DEPS » ('j') | sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698