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

Side by Side Diff: components/nacl/loader/sandbox_linux/BUILD.gn

Issue 2297993003: [linux] remove dependency between nacl_helper and media (Closed)
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 assert(is_linux) 8 assert(is_linux)
9 assert(enable_nacl) 9 assert(enable_nacl)
10 10
11 source_set("sandbox_linux") { 11 source_set("sandbox_linux") {
12 sources = [ 12 sources = [
13 "nacl_bpf_sandbox_linux.cc", 13 "nacl_bpf_sandbox_linux.cc",
14 "nacl_sandbox_linux.cc", 14 "nacl_sandbox_linux.cc",
15 ] 15 ]
16 16
17 defines = [ "IN_NACL_HELPER=1" ] 17 defines = [ "IN_NACL_HELPER=1" ]
18 18
19 public_deps = [
20 "//content/common:sandbox_linux",
21 ]
22
19 deps = [ 23 deps = [
20 "//base", 24 "//base",
21 "//components/nacl/common", 25 "//components/nacl/common",
22 "//components/nacl/loader", 26 "//components/nacl/loader",
23 "//content/public/common",
24 "//crypto", 27 "//crypto",
25 "//ipc", 28 "//ipc",
26 "//sandbox", 29 "//sandbox",
27 "//sandbox/linux:sandbox_services_headers", 30 "//sandbox/linux:sandbox_services_headers",
28 ] 31 ]
29 32
30 if (use_glib) { 33 if (use_glib) {
31 configs += [ "//build/config/linux:glib" ] 34 configs += [ "//build/config/linux:glib" ]
32 } 35 }
33 36
34 if (use_seccomp_bpf) { 37 if (use_seccomp_bpf) {
35 defines += [ "USE_SECCOMP_BPF" ] 38 defines += [ "USE_SECCOMP_BPF" ]
36 } 39 }
37 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698