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

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

Issue 391043003: Revert of Add domain-specific language for BPF policies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "//testing/gtest", 85 "//testing/gtest",
86 ] 86 ]
87 87
88 if (compile_suid_client) { 88 if (compile_suid_client) {
89 sources += [ 89 sources += [
90 "suid/client/setuid_sandbox_client_unittest.cc", 90 "suid/client/setuid_sandbox_client_unittest.cc",
91 ] 91 ]
92 } 92 }
93 if (use_seccomp_bpf) { 93 if (use_seccomp_bpf) {
94 sources += [ 94 sources += [
95 "bpf_dsl/bpf_dsl_unittest.cc",
96 "bpf_dsl/cons_unittest.cc",
97 "seccomp-bpf-helpers/baseline_policy_unittest.cc", 95 "seccomp-bpf-helpers/baseline_policy_unittest.cc",
98 "seccomp-bpf/bpf_tests_unittest.cc", 96 "seccomp-bpf/bpf_tests_unittest.cc",
99 "seccomp-bpf/codegen_unittest.cc", 97 "seccomp-bpf/codegen_unittest.cc",
100 "seccomp-bpf/errorcode_unittest.cc", 98 "seccomp-bpf/errorcode_unittest.cc",
101 "seccomp-bpf/sandbox_bpf_unittest.cc", 99 "seccomp-bpf/sandbox_bpf_unittest.cc",
102 "seccomp-bpf/syscall_iterator_unittest.cc", 100 "seccomp-bpf/syscall_iterator_unittest.cc",
103 "seccomp-bpf/syscall_unittest.cc", 101 "seccomp-bpf/syscall_unittest.cc",
104 ] 102 ]
105 } 103 }
106 if (compile_credentials) { 104 if (compile_credentials) {
(...skipping 17 matching lines...) Expand all
124 # [ "OS == "android"", { 122 # [ "OS == "android"", {
125 # "dependencies": [ 123 # "dependencies": [
126 # "../testing/android/native_test.gyp:native_test_native_code", 124 # "../testing/android/native_test.gyp:native_test_native_code",
127 # ], 125 # ],
128 # }], 126 # }],
129 # ], 127 # ],
130 # }, 128 # },
131 129
132 component("seccomp_bpf") { 130 component("seccomp_bpf") {
133 sources = [ 131 sources = [
134 "bpf_dsl/bpf_dsl.cc",
135 "bpf_dsl/bpf_dsl.h",
136 "bpf_dsl/cons.h",
137 "seccomp-bpf/basicblock.cc", 132 "seccomp-bpf/basicblock.cc",
138 "seccomp-bpf/basicblock.h", 133 "seccomp-bpf/basicblock.h",
139 "seccomp-bpf/codegen.cc", 134 "seccomp-bpf/codegen.cc",
140 "seccomp-bpf/codegen.h", 135 "seccomp-bpf/codegen.h",
141 "seccomp-bpf/die.cc", 136 "seccomp-bpf/die.cc",
142 "seccomp-bpf/die.h", 137 "seccomp-bpf/die.h",
143 "seccomp-bpf/errorcode.cc", 138 "seccomp-bpf/errorcode.cc",
144 "seccomp-bpf/errorcode.h", 139 "seccomp-bpf/errorcode.h",
145 "seccomp-bpf/instruction.h", 140 "seccomp-bpf/instruction.h",
146 "seccomp-bpf/linux_seccomp.h", 141 "seccomp-bpf/linux_seccomp.h",
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 # 'type': 'none', 308 # 'type': 'none',
314 # 'variables': { 309 # 'variables': {
315 # 'test_suite_name': 'sandbox_linux_jni_unittests', 310 # 'test_suite_name': 'sandbox_linux_jni_unittests',
316 # }, 311 # },
317 # 'dependencies': [ 312 # 'dependencies': [
318 # 'sandbox_linux_jni_unittests', 313 # 'sandbox_linux_jni_unittests',
319 # ], 314 # ],
320 # 'includes': [ '../../build/apk_test.gypi' ], 315 # 'includes': [ '../../build/apk_test.gypi' ],
321 # } 316 # }
322 } 317 }
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