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

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

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 7 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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 declare_args() { 8 declare_args() {
9 compile_suid_client = is_linux 9 compile_suid_client = is_linux
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 "bpf_dsl/cons_unittest.cc", 110 "bpf_dsl/cons_unittest.cc",
111 "bpf_dsl/syscall_set_unittest.cc", 111 "bpf_dsl/syscall_set_unittest.cc",
112 "integration_tests/bpf_dsl_seccomp_unittest.cc", 112 "integration_tests/bpf_dsl_seccomp_unittest.cc",
113 "integration_tests/seccomp_broker_process_unittest.cc", 113 "integration_tests/seccomp_broker_process_unittest.cc",
114 "seccomp-bpf-helpers/baseline_policy_unittest.cc", 114 "seccomp-bpf-helpers/baseline_policy_unittest.cc",
115 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc", 115 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc",
116 "seccomp-bpf/bpf_tests_unittest.cc", 116 "seccomp-bpf/bpf_tests_unittest.cc",
117 "seccomp-bpf/errorcode_unittest.cc", 117 "seccomp-bpf/errorcode_unittest.cc",
118 "seccomp-bpf/sandbox_bpf_unittest.cc", 118 "seccomp-bpf/sandbox_bpf_unittest.cc",
119 "seccomp-bpf/syscall_unittest.cc", 119 "seccomp-bpf/syscall_unittest.cc",
120 "seccomp-bpf/trap_unittest.cc",
120 ] 121 ]
121 } 122 }
122 if (compile_credentials) { 123 if (compile_credentials) {
123 sources += [ 124 sources += [
124 "integration_tests/namespace_unix_domain_socket_unittest.cc", 125 "integration_tests/namespace_unix_domain_socket_unittest.cc",
125 "services/credentials_unittest.cc", 126 "services/credentials_unittest.cc",
126 "services/namespace_sandbox_unittest.cc", 127 "services/namespace_sandbox_unittest.cc",
127 "services/namespace_utils_unittest.cc", 128 "services/namespace_utils_unittest.cc",
128 ] 129 ]
129 130
(...skipping 10 matching lines...) Expand all
140 } 141 }
141 142
142 # This target is the shared library used by Android APK (i.e. 143 # This target is the shared library used by Android APK (i.e.
143 # JNI-friendly) tests. 144 # JNI-friendly) tests.
144 shared_library("sandbox_linux_jni_unittests") { 145 shared_library("sandbox_linux_jni_unittests") {
145 testonly = true 146 testonly = true
146 deps = [ 147 deps = [
147 ":sandbox_linux_unittests_sources", 148 ":sandbox_linux_unittests_sources",
148 ] 149 ]
149 if (is_android) { 150 if (is_android) {
150 deps += [ "//testing/android:native_test_native_code" ] 151 deps += [ "//testing/android/native_test:native_test_native_code" ]
151 } 152 }
152 } 153 }
153 154
154 component("seccomp_bpf") { 155 component("seccomp_bpf") {
155 sources = [ 156 sources = [
156 "bpf_dsl/bpf_dsl.cc", 157 "bpf_dsl/bpf_dsl.cc",
157 "bpf_dsl/bpf_dsl.h", 158 "bpf_dsl/bpf_dsl.h",
158 "bpf_dsl/bpf_dsl_forward.h", 159 "bpf_dsl/bpf_dsl_forward.h",
159 "bpf_dsl/bpf_dsl_impl.h", 160 "bpf_dsl/bpf_dsl_impl.h",
160 "bpf_dsl/codegen.cc", 161 "bpf_dsl/codegen.cc",
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 "services/namespace_utils.cc", 282 "services/namespace_utils.cc",
282 "services/namespace_utils.h", 283 "services/namespace_utils.h",
283 ] 284 ]
284 285
285 deps += [ ":sandbox_services_headers" ] 286 deps += [ ":sandbox_services_headers" ]
286 } 287 }
287 } 288 }
288 289
289 source_set("sandbox_services_headers") { 290 source_set("sandbox_services_headers") {
290 sources = [ 291 sources = [
291 "system_headers/android_arm64_ucontext.h",
292 "system_headers/android_arm_ucontext.h",
293 "system_headers/android_futex.h",
294 "system_headers/android_i386_ucontext.h",
295 "system_headers/android_ucontext.h",
296 "system_headers/arm64_linux_syscalls.h", 292 "system_headers/arm64_linux_syscalls.h",
293 "system_headers/arm64_linux_ucontext.h",
297 "system_headers/arm_linux_syscalls.h", 294 "system_headers/arm_linux_syscalls.h",
295 "system_headers/arm_linux_ucontext.h",
296 "system_headers/i386_linux_ucontext.h",
297 "system_headers/linux_futex.h",
298 "system_headers/linux_seccomp.h", 298 "system_headers/linux_seccomp.h",
299 "system_headers/linux_signal.h",
299 "system_headers/linux_syscalls.h", 300 "system_headers/linux_syscalls.h",
301 "system_headers/linux_ucontext.h",
300 "system_headers/x86_32_linux_syscalls.h", 302 "system_headers/x86_32_linux_syscalls.h",
301 "system_headers/x86_64_linux_syscalls.h", 303 "system_headers/x86_64_linux_syscalls.h",
302 ] 304 ]
303 } 305 }
304 306
305 # We make this its own target so that it does not interfere with our tests. 307 # We make this its own target so that it does not interfere with our tests.
306 source_set("libc_urandom_override") { 308 source_set("libc_urandom_override") {
307 sources = [ 309 sources = [
308 "services/libc_urandom_override.cc", 310 "services/libc_urandom_override.cc",
309 "services/libc_urandom_override.h", 311 "services/libc_urandom_override.h",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 # 'type': 'none', 359 # 'type': 'none',
358 # 'variables': { 360 # 'variables': {
359 # 'test_suite_name': 'sandbox_linux_jni_unittests', 361 # 'test_suite_name': 'sandbox_linux_jni_unittests',
360 # }, 362 # },
361 # 'dependencies': [ 363 # 'dependencies': [
362 # 'sandbox_linux_jni_unittests', 364 # 'sandbox_linux_jni_unittests',
363 # ], 365 # ],
364 # 'includes': [ '../../build/apk_test.gypi' ], 366 # 'includes': [ '../../build/apk_test.gypi' ],
365 # } 367 # }
366 } 368 }
OLDNEW
« no previous file with comments | « mojo/tools/roll/roll_network_service_patches/network_service.patch ('k') | sandbox/linux/bpf_dsl/bpf_dsl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698