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

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

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup the compiler configuration Created 5 years, 2 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 # 'type': 'none', 404 # 'type': 'none',
405 # 'variables': { 405 # 'variables': {
406 # 'test_suite_name': 'sandbox_linux_jni_unittests', 406 # 'test_suite_name': 'sandbox_linux_jni_unittests',
407 # }, 407 # },
408 # 'dependencies': [ 408 # 'dependencies': [
409 # 'sandbox_linux_jni_unittests', 409 # 'sandbox_linux_jni_unittests',
410 # ], 410 # ],
411 # 'includes': [ '../../build/apk_test.gypi' ], 411 # 'includes': [ '../../build/apk_test.gypi' ],
412 # } 412 # }
413 } 413 }
414
415 if (enable_nacl) {
416 source_set("sandbox_linux_nacl_nonsfi") {
417 cflags = [ "-fgnu-inline-asm" ]
418 sources = [
419 # this is the subset of linux build target, needed for
Mark Seaborn 2015/10/22 21:48:30 Nit: Capitalise as "This"
Petr Hosek 2015/10/23 03:01:15 Done.
420 # nacl_helper_nonsfi's sandbox implementation.
421 "bpf_dsl/bpf_dsl.cc",
422 "bpf_dsl/codegen.cc",
423 "bpf_dsl/policy.cc",
424 "bpf_dsl/policy_compiler.cc",
425 "bpf_dsl/syscall_set.cc",
426 "seccomp-bpf-helpers/sigsys_handlers.cc",
427 "seccomp-bpf-helpers/syscall_parameters_restrictions.cc",
428 "seccomp-bpf/die.cc",
429 "seccomp-bpf/sandbox_bpf.cc",
430 "seccomp-bpf/syscall.cc",
431 "seccomp-bpf/trap.cc",
432 "services/credentials.cc",
433 "services/namespace_sandbox.cc",
434 "services/namespace_utils.cc",
435 "services/proc_util.cc",
436 "services/resource_limits.cc",
437 "services/syscall_wrappers.cc",
438 "services/thread_helpers.cc",
439 "suid/client/setuid_sandbox_client.cc",
440 ]
441 }
442 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698