OLD | NEW |
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_bpf_sandbox_linux.h", |
14 "nacl_sandbox_linux.cc", | 15 "nacl_sandbox_linux.cc", |
15 ] | 16 ] |
16 | 17 |
17 defines = [ "IN_NACL_HELPER=1" ] | 18 defines = [ "IN_NACL_HELPER=1" ] |
18 | 19 |
19 deps = [ | 20 deps = [ |
20 "//base", | 21 "//base", |
21 "//components/nacl/common", | 22 "//components/nacl/common", |
22 "//components/nacl/loader", | 23 "//components/nacl/loader", |
23 "//content/public/common", | 24 "//content/public/common", |
24 "//crypto", | 25 "//crypto", |
25 "//ipc", | 26 "//ipc", |
26 "//sandbox", | 27 "//sandbox", |
27 "//sandbox:sandbox_features", | 28 "//sandbox:sandbox_features", |
28 "//sandbox/linux:sandbox_services_headers", | 29 "//sandbox/linux:sandbox_services_headers", |
29 ] | 30 ] |
30 | 31 |
31 if (use_glib) { | 32 if (use_glib) { |
32 configs += [ "//build/config/linux:glib" ] | 33 configs += [ "//build/config/linux:glib" ] |
33 } | 34 } |
34 } | 35 } |
OLD | NEW |