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 | 6 |
7 assert(enable_nacl) | 7 assert(enable_nacl) |
8 | 8 |
9 static_library("browser") { | 9 static_library("browser") { |
10 sources = [ | 10 sources = [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 "../zygote/nacl_fork_delegate_linux.cc", | 53 "../zygote/nacl_fork_delegate_linux.cc", |
54 "../zygote/nacl_fork_delegate_linux.h", | 54 "../zygote/nacl_fork_delegate_linux.h", |
55 ] | 55 ] |
56 | 56 |
57 deps += [ | 57 deps += [ |
58 "//components/nacl/loader:nacl_helper_integration", | 58 "//components/nacl/loader:nacl_helper_integration", |
59 "//sandbox/linux:sandbox_services", | 59 "//sandbox/linux:sandbox_services", |
60 "//sandbox/linux:suid_sandbox_client", | 60 "//sandbox/linux:suid_sandbox_client", |
61 ] | 61 ] |
62 | 62 |
63 data_deps += [ "//components/nacl/loader:helper_nonsfi" ] | 63 if (enable_nacl_nonsfi) { |
| 64 data_deps += [ "//components/nacl/loader:helper_nonsfi" ] |
| 65 } |
64 } | 66 } |
65 | 67 |
66 if (is_win && current_cpu == "x86") { | 68 if (is_win && current_cpu == "x86") { |
67 data_deps += [ "//components/nacl/broker:nacl64" ] | 69 data_deps += [ "//components/nacl/broker:nacl64" ] |
68 } | 70 } |
69 } | 71 } |
70 | 72 |
71 source_set("unit_tests") { | 73 source_set("unit_tests") { |
72 testonly = true | 74 testonly = true |
73 sources = [ | 75 sources = [ |
(...skipping 10 matching lines...) Expand all Loading... |
84 "//base", | 86 "//base", |
85 "//components/nacl/common", | 87 "//components/nacl/common", |
86 "//content/test:test_support", | 88 "//content/test:test_support", |
87 "//net:test_support", | 89 "//net:test_support", |
88 ] | 90 ] |
89 | 91 |
90 if (is_linux) { | 92 if (is_linux) { |
91 sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ] | 93 sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ] |
92 } | 94 } |
93 } | 95 } |
OLD | NEW |