| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 ['OS=="linux"', { | 8 ['OS=="linux"', { |
| 9 'compile_suid_client': 1, | 9 'compile_suid_client': 1, |
| 10 'compile_credentials': 1, | 10 'compile_credentials': 1, |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 'bpf_dsl/bpf_dsl_forward.h', | 123 'bpf_dsl/bpf_dsl_forward.h', |
| 124 'bpf_dsl/bpf_dsl_impl.h', | 124 'bpf_dsl/bpf_dsl_impl.h', |
| 125 'bpf_dsl/cons.h', | 125 'bpf_dsl/cons.h', |
| 126 'bpf_dsl/dump_bpf.cc', | 126 'bpf_dsl/dump_bpf.cc', |
| 127 'bpf_dsl/dump_bpf.h', | 127 'bpf_dsl/dump_bpf.h', |
| 128 'bpf_dsl/policy.cc', | 128 'bpf_dsl/policy.cc', |
| 129 'bpf_dsl/policy.h', | 129 'bpf_dsl/policy.h', |
| 130 'bpf_dsl/policy_compiler.cc', | 130 'bpf_dsl/policy_compiler.cc', |
| 131 'bpf_dsl/policy_compiler.h', | 131 'bpf_dsl/policy_compiler.h', |
| 132 'bpf_dsl/trap_registry.h', | 132 'bpf_dsl/trap_registry.h', |
| 133 'seccomp-bpf/basicblock.cc', | |
| 134 'seccomp-bpf/basicblock.h', | |
| 135 'seccomp-bpf/codegen.cc', | 133 'seccomp-bpf/codegen.cc', |
| 136 'seccomp-bpf/codegen.h', | 134 'seccomp-bpf/codegen.h', |
| 137 'seccomp-bpf/die.cc', | 135 'seccomp-bpf/die.cc', |
| 138 'seccomp-bpf/die.h', | 136 'seccomp-bpf/die.h', |
| 139 'seccomp-bpf/errorcode.cc', | 137 'seccomp-bpf/errorcode.cc', |
| 140 'seccomp-bpf/errorcode.h', | 138 'seccomp-bpf/errorcode.h', |
| 141 'seccomp-bpf/instruction.h', | |
| 142 'seccomp-bpf/linux_seccomp.h', | 139 'seccomp-bpf/linux_seccomp.h', |
| 143 'seccomp-bpf/sandbox_bpf.cc', | 140 'seccomp-bpf/sandbox_bpf.cc', |
| 144 'seccomp-bpf/sandbox_bpf.h', | 141 'seccomp-bpf/sandbox_bpf.h', |
| 145 'seccomp-bpf/syscall.cc', | 142 'seccomp-bpf/syscall.cc', |
| 146 'seccomp-bpf/syscall.h', | 143 'seccomp-bpf/syscall.h', |
| 147 'seccomp-bpf/syscall_iterator.cc', | 144 'seccomp-bpf/syscall_iterator.cc', |
| 148 'seccomp-bpf/syscall_iterator.h', | 145 'seccomp-bpf/syscall_iterator.h', |
| 149 'seccomp-bpf/trap.cc', | 146 'seccomp-bpf/trap.cc', |
| 150 'seccomp-bpf/trap.h', | 147 'seccomp-bpf/trap.h', |
| 151 'seccomp-bpf/verifier.cc', | 148 'seccomp-bpf/verifier.cc', |
| 152 'seccomp-bpf/verifier.h', | 149 'seccomp-bpf/verifier.h', |
| 153 ], | 150 ], |
| 154 'dependencies': [ | 151 'dependencies': [ |
| 155 '../base/base.gyp:base', | 152 '../base/base.gyp:base', |
| 153 'sandbox_services', |
| 156 'sandbox_services_headers', | 154 'sandbox_services_headers', |
| 157 ], | 155 ], |
| 158 'defines': [ | 156 'defines': [ |
| 159 'SANDBOX_IMPLEMENTATION', | 157 'SANDBOX_IMPLEMENTATION', |
| 160 ], | 158 ], |
| 161 'includes': [ | 159 'includes': [ |
| 162 # Disable LTO due to compiler bug | 160 # Disable LTO due to compiler bug |
| 163 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57703 | 161 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57703 |
| 164 '../../build/android/disable_lto.gypi', | 162 '../../build/android/disable_lto.gypi', |
| 165 ], | 163 ], |
| 166 'include_dirs': [ | 164 'include_dirs': [ |
| 167 '../..', | 165 '../..', |
| 168 ], | 166 ], |
| 169 }, | 167 }, |
| 170 { | 168 { |
| 171 'target_name': 'seccomp_bpf_helpers', | 169 'target_name': 'seccomp_bpf_helpers', |
| 172 'type': '<(component)', | 170 'type': '<(component)', |
| 173 'sources': [ | 171 'sources': [ |
| 174 'seccomp-bpf-helpers/baseline_policy.cc', | 172 'seccomp-bpf-helpers/baseline_policy.cc', |
| 175 'seccomp-bpf-helpers/baseline_policy.h', | 173 'seccomp-bpf-helpers/baseline_policy.h', |
| 176 'seccomp-bpf-helpers/sigsys_handlers.cc', | 174 'seccomp-bpf-helpers/sigsys_handlers.cc', |
| 177 'seccomp-bpf-helpers/sigsys_handlers.h', | 175 'seccomp-bpf-helpers/sigsys_handlers.h', |
| 178 'seccomp-bpf-helpers/syscall_parameters_restrictions.cc', | 176 'seccomp-bpf-helpers/syscall_parameters_restrictions.cc', |
| 179 'seccomp-bpf-helpers/syscall_parameters_restrictions.h', | 177 'seccomp-bpf-helpers/syscall_parameters_restrictions.h', |
| 180 'seccomp-bpf-helpers/syscall_sets.cc', | 178 'seccomp-bpf-helpers/syscall_sets.cc', |
| 181 'seccomp-bpf-helpers/syscall_sets.h', | 179 'seccomp-bpf-helpers/syscall_sets.h', |
| 182 ], | 180 ], |
| 183 'dependencies': [ | 181 'dependencies': [ |
| 184 '../base/base.gyp:base', | 182 '../base/base.gyp:base', |
| 183 'sandbox_services', |
| 185 'seccomp_bpf', | 184 'seccomp_bpf', |
| 186 ], | 185 ], |
| 187 'defines': [ | 186 'defines': [ |
| 188 'SANDBOX_IMPLEMENTATION', | 187 'SANDBOX_IMPLEMENTATION', |
| 189 ], | 188 ], |
| 190 'include_dirs': [ | 189 'include_dirs': [ |
| 191 '../..', | 190 '../..', |
| 192 ], | 191 ], |
| 193 }, | 192 }, |
| 194 { | 193 { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 217 ['exclude', '-fsanitize'], | 216 ['exclude', '-fsanitize'], |
| 218 ], | 217 ], |
| 219 }, | 218 }, |
| 220 { 'target_name': 'sandbox_services', | 219 { 'target_name': 'sandbox_services', |
| 221 'type': '<(component)', | 220 'type': '<(component)', |
| 222 'sources': [ | 221 'sources': [ |
| 223 'services/init_process_reaper.cc', | 222 'services/init_process_reaper.cc', |
| 224 'services/init_process_reaper.h', | 223 'services/init_process_reaper.h', |
| 225 'services/scoped_process.cc', | 224 'services/scoped_process.cc', |
| 226 'services/scoped_process.h', | 225 'services/scoped_process.h', |
| 226 'services/syscall_wrappers.cc', |
| 227 'services/syscall_wrappers.h', |
| 227 'services/thread_helpers.cc', | 228 'services/thread_helpers.cc', |
| 228 'services/thread_helpers.h', | 229 'services/thread_helpers.h', |
| 229 'services/yama.cc', | 230 'services/yama.cc', |
| 230 'services/yama.h', | 231 'services/yama.h', |
| 231 'syscall_broker/broker_channel.cc', | 232 'syscall_broker/broker_channel.cc', |
| 232 'syscall_broker/broker_channel.h', | 233 'syscall_broker/broker_channel.h', |
| 233 'syscall_broker/broker_client.cc', | 234 'syscall_broker/broker_client.cc', |
| 234 'syscall_broker/broker_client.h', | 235 'syscall_broker/broker_client.h', |
| 235 'syscall_broker/broker_common.h', | 236 'syscall_broker/broker_common.h', |
| 236 'syscall_broker/broker_host.cc', | 237 'syscall_broker/broker_host.cc', |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 '../../build/isolate.gypi', | 380 '../../build/isolate.gypi', |
| 380 ], | 381 ], |
| 381 'sources': [ | 382 'sources': [ |
| 382 '../sandbox_linux_unittests.isolate', | 383 '../sandbox_linux_unittests.isolate', |
| 383 ], | 384 ], |
| 384 }, | 385 }, |
| 385 ], | 386 ], |
| 386 }], | 387 }], |
| 387 ], | 388 ], |
| 388 } | 389 } |
| OLD | NEW |